That will work, but I would useOriginally Posted by ahefner
Code:(ssget "_X" '((0 . "LINE,POLYLINE,LWPOLYLINE")))
|
|
|
That will work, but I would useOriginally Posted by ahefner
Code:(ssget "_X" '((0 . "LINE,POLYLINE,LWPOLYLINE")))
R.K. McSwain | CAD Panacea |
Regular old PLINE command. Explore the PLINETYPE sysvar. This determines what kind of polyline will be created.Originally Posted by ahefner
R.K. McSwain | CAD Panacea |
I did end up using the second one listed above (no asterick).
BTW... is there somewhere I can learn these "lisp" commands [...like (ssget"_X" '((0 . "LINE")))...]? Any tutorials you recommend?
The AutoCAD Developers Guide (acad_dev.chm) in your HELP folder.Originally Posted by ahefner
On the web, http://www.afralisp.net/ is a good site.
R.K. McSwain | CAD Panacea |
Thanks, this looks like what I'm after.Originally Posted by rkmcswain
That makes sense. Thanks for the tip, RK.Originally Posted by rkmcswain
Wow, I don't know why I'm having such problems with this...
My recent use of this new found knowledge was for a custom button macro as follows:But when I click the button, it only explodes one at a time. Very weird unless I'm just unaware that's what I'm telling it to doCode:^C^CZOOM;e;EXPLODE;(ssget "_X" '((0 . "LWPOLYLINE,POLYLINE")));
But if I type it all in, it works perfect.
What in the world is wrong with my macro?
Have a look at this KB article. Let us know if you need help writing the code.Originally Posted by ahefner
Wow, the weird limitations you come across just trying to automate the simplest of tasks.
Help would be great.
Here's the idea... I have some xrefs which the architect has added POLYLINEs with a thickness to represent the bathroom stalls and hand rails. I simply need to explode the PLINEs so they loose their thickness and are controlled "bylayer". My button macro reads as follows:Is there a somewhat simple way to adapt what that link was talking about (btw, thanks for the link) to accomplish the task described above?Code:^C^CZOOM;e;EXPLODE;(ssget "_X" '((0 . "LWPOLYLINE,POLYLINE")));