Message 1 of 8

Not applicable
08-03-2017
10:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm looking for a code where I can select the object using the select command instead of choosing with the cursor.
I have this code to choose a polyline:
(setq Ent (entsel "Select the polyline : " ) )
(setq Vl-Obj (vlax-ename->vla-Object (car Ent )) )
after choosing the polyline i can execute the rest of the commands, because my vl-obj was set to be the line i chose.
What i need is a code that allows me to choose the line without a cursor. for example: using the select command or asking for the input of a group and selecting all entities of that group.
thank you !
Solved! Go to Solution.