Help on c:wd_delsym_main function

Help on c:wd_delsym_main function

FRFR1512
Enthusiast Enthusiast
619 Views
2 Replies
Message 1 of 3

Help on c:wd_delsym_main function

FRFR1512
Enthusiast
Enthusiast
 
I want to use the function to delette a symbol by its Entity name
Example
Command: (C:WD_DELSYM_MAIN 402227c90)
 
but I get: Error bad argument type: lentityp nil
 
who can help me or give me an example
Tank you
0 Likes
Accepted solutions (1)
620 Views
2 Replies
Replies (2)
Message 2 of 3

rhesusminus
Mentor
Mentor
Accepted solution
Entity name isn't the same as the object id.

In my drawing, I have en object with the handle a0eb.
I can use your command like this:
(c:wd_delsym_main (handent "a0eb"))

or

(c:wd_delsym_main (entsel "\nSelect symbol to delete: "))


There's a whole bunch of entity handling commands like this:
http://docs.autodesk.com/ACD/2013/ENU/index.html?url=files/GUID-AF6DD533-1A24-4687-96EB-F03F26050C07...


Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Autodesk Expert Elite Alumni
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
Message 3 of 3

FRFR1512
Enthusiast
Enthusiast
Thank you that works fine
0 Likes