so, there´s any way to make the snap ignore some object?
i know an easy solution would be freeze the object and set "snapmode.tofrozen = false".
But the object must be visible and cant be frozen.
any ideas?
Forum topic · General Scripting
By mjbg · 2011-10-22
so, there´s any way to make the snap ignore some object?
i know an easy solution would be freeze the object and set "snapmode.tofrozen = false".
But the object must be visible and cant be frozen.
any ideas?
Comments (2)
Comment policy
intersting. i gave it a try but only achieved some workaround.
i tested with boxes and teapots so no "special" object or geometry types.
my idea was to use the transform change handler, check for valid snapping, if snapping valid then searching the "blacklist" (for forbidden objects) and disabling the snapping display for the forbidden objects.
if this works fine for your needs creating a dialog with (blacklist) selection and save settings etc. should not be the problem.
hope this helps a bit!
Thank you for your help
havent had the chance to try it yet
but wouldnt the snapmode.display just "hide" the snap but the snap will continue to work as usual for the all the objects?
well thanks anyway.. will try it first thing tomorow