- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I need to make a closed polyline and extrude it.
In interactive mode, I just make a PLINE and then call EXTRUDE and it just works.
When writing those same commands to a script, the line isn't selected after it's added (closed). So, I'm trying to do everything to actually select the line and nothing is working.
My intuition is that I should wither SELECT or DESELECT-SELECT (I've tried both) the line and then call EXTRUDE or, alternatively, call EXTRUDE and then specify the co-ordinates of the line to extrude.
When I do it interactively, it works just fine. I can provide the co-ordinates to SELECT and it tells me that 1 object is selected, so I can confidently call EXTRUDE.
When running a script, I call SELECT and it doesn't find the object! Instead, even though I'm providing valid co-ordinates, it cannot find anything and asks me to provide a closing bound to search for objects. I've tried both this as well as calling EXTRUDE and specifying the co-ordinates of the line to extrude and it cannot find that line, even though I 100% know the line is there and can select it with SELECT in interactive mode just by typing those same commands that I have in my script.
Can someone help me figure out what's going on here? This is very infuriating.
Solved! Go to Solution.