CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.094.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator. New AutoCAD 2026 commands and variables.
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedLisp to Generate Section Plane Geometry

 Post Reply Post Reply
Author
j.smith View Drop Down
Newbie
Newbie


Joined: 31.Mar.2010
Status: Offline
Points: 2
Direct Link To This Post Topic: Lisp to Generate Section Plane Geometry
    Posted: 03.Dec.2010 at 17:08

What I’m trying to accomplish with my limited knowledge of Lisp:

 

I have a section plane already inserted in my drawing with the proper settings selected to generate and replace an existing 2D block. The section plane is on layer “W-SECT-LOW”.

I’m trying to make a shortcut lisp that will bring up the Generate Section/Elevation Dialog Box and automatically select the section plane on this layer, and then execute “C” for create.

 

This is what I have so far:

 

(command "sectionplanetoblock" (ssget "_X" '((8 . "W-SECT-LOW"))))

 

It brings up the Dialog Box with the “select section plane” button highlighted. After I press the spacebar it recognizes my section plane has already been selected, then I press “C” and it creates the 2D block.

Can anyone help me add to this so I won’t have to press “spacebar” and “C”??  

-Thank you
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,215 seconds.