Using TRIM in lisp doesn't work if zoomed out to far

Using TRIM in lisp doesn't work if zoomed out to far

Anonymous
Not applicable
916 Views
3 Replies
Message 1 of 4

Using TRIM in lisp doesn't work if zoomed out to far

Anonymous
Not applicable

I have written a couple programs that use the TRIM command and have noticed that it will not trim away the line if I am zoomed out too far. I have set OSMODE to 0 and used "NON" before supplying the point, but it doesn't trim it away. Is there something else related to supplying points to the TRIM command that I am missing?

 

Specifically, I wrote a program that adds a radius undercut to a corner by drawing a circle with the quadrant at the intersection of the two lines, then trims away the excess of the circle and the line that is being undercut. But, if the undercut radius is really small and I am zoomed out to see the entire part, it will only trim away the excess of the circle and will not trim away the excess of the line, but if I zoom in so that the radius will take up a good portion of the screen, it will work fine.

0 Likes
Accepted solutions (1)
917 Views
3 Replies
Replies (3)
Message 2 of 4

Kent1Cooper
Consultant
Consultant
Accepted solution

If the points at which it picks to Trim are calculated to be on the things you want Trimmed away, try tightening the PICKBOX System Variable value down to 1, or even 0.  It may not fix it all the time, but I suspect it would at least extend the viable range of Zoom level, because picking will less often "see" something you don't want but that is within reach of a larger pickbox.

Kent Cooper, AIA
0 Likes
Message 3 of 4

Anonymous
Not applicable

hey,

pickbox will be a good idea.

also try adding (command "zoom" "object" object name).

this will solve this problem probably

0 Likes
Message 4 of 4

Anonymous
Not applicable

I tried both but I couldn't get the zoom to work, not saying that it isn't possible, but I got the pickbox size to work first try so I went with that. Thanks for the replies!

0 Likes