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.092.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

 Post Reply Post Reply
Author
tdaraban View Drop Down
Newbie
Newbie


Joined: 23.Nov.2011
Location: United States
Using: AUTOCAD 2012 mep
Status: Offline
Points: 2
Direct Link To This Post Topic: LISP
    Posted: 23.Nov.2011 at 21:20
Hi,
I want to use a lisp routine to add trapeze supports for electrical conduits in Autocad MEP  but I don't know how to extract the x,y,z from a conduit. For example if I need the same info for a regular Cad entity like a line, I use (entget (car (entsel))) but it doesn't work for electrical conduits or cable traysConfused please help


Edited by tdaraban - 23.Nov.2011 at 21:35
Thanks, Titus
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 24.Nov.2011 at 01:08
Wouldn't a simple LIST give you the information you seek?
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
tdaraban View Drop Down
Newbie
Newbie


Joined: 23.Nov.2011
Location: United States
Using: AUTOCAD 2012 mep
Status: Offline
Points: 2
Direct Link To This Post Posted: 28.Nov.2011 at 02:09
I'm new at LISP but as far as I know the entget command return an entity code that have among other info the x,y,z coordinate, that is for regular cad entities. Not sure if a simple LIST can be read by LISP and extract the coordinates, I think it needs to be one of the commands recognized  by LISP
Thanks, Titus
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,168 seconds.