
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello kind people of the forum,
Have had a number of you here write me some truly amazing routines & in a bid to try & streamline them even further, I am looking to have only specific snap points/modes available at certain parts in the routines.
Firstly, I am unsure if it is as simple as setting the osmode variable to required integer (quadrants snap for example) & then resetting the variable to mystandard osmode number to reinstate all usual snaps at end of routine. Or...
Do I use the osnap command to specify the desired snap points by name somewhere in the routine?
Aside from not being sure in the differences of outcome in these two methods, I have had extremely little success using either method. At the end of a failed lisp routine the snaps have indeed changed but the lisp ceases to run as it did before i tried adding these little cherries on top.
Hopefully this has all made sense without me supplying all the lisps I'm trying to tweak & someone would be kind enough to explain where I would use the osmode variable over the osnap command & where these snippets of code should be placed..?
I'm currently working on a lisp that inserts a circular named block in the middle of two other circular blocks so would like to restrict my snapping to quadrants as am dealing with sides/tops of circles. Could someone maybe give me a hint on how to include the above mentioned? Please use your own example if preferred... just something uncomplicated so I can work out the key to it all.
Thank you everyone. Hope everyone is doing okay.
Brad
Solved! Go to Solution.