Message 1 of 2

Not applicable
11-06-2016
04:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
What i am trying to do is to set a dimension of the circle using autolisp.
Let's say I know a point on the circle - (x y). To set dimension I do:
(COMMAND "_DIMDIAMETER" ( LIST x y ) ( LIST (+ x 100) (+ y 100) ) "")
The problem is that if the point (x y) is out of vision (for example, I zoomed in to another area), the dimension won't be built.
How can I avoid such problem? Or can I select an object by the name (using entlast) instead of picking a point?
The same problem I have with picking points for a fillet using autolisp.
Also it's important that the pick point is not supposed to be set by the user during the process.
Solved! Go to Solution.