Musisback Posted April 28, 2011 Share Posted April 28, 2011 During the use of a tool, I would like "Snap to working plane" to be set on. I found out that is was possible to set it on with setConstrain('R'); but then I set all the other contraints off. I would actually like to set everything back as it was before the use of the tool. But I cannot get their status. I can get some of the snapping options as "Snap To Grid" with getpref, but not all of them How can I do? Thanks, Quote Link to comment
MullinRJ Posted April 28, 2011 Share Posted April 28, 2011 Try these Pref values. They should be available in VW 2010 SP4. SnapToGrid = 37 SnapToObject = 38 SnapAngle = 470 SnapIntersect = 471 SnapSmartPoints = 472 SnapDistance = 473 SnapSmartEdge = 474 SnapConstrainTangent = 475 SnapConstrainToWorkingPlane = 476 SnapConstrainWorkingPlaneNormal = 477 Raymond Quote Link to comment
Musisback Posted April 29, 2011 Author Share Posted April 29, 2011 Sadly, they are not available... Is there another way? Quote Link to comment
VincentCuclair Posted April 29, 2011 Share Posted April 29, 2011 (edited) Here's a solution..... http://techboard.nemetschek.net/ubbthreads.php?ubb=showflat&Main=28533&Number=139189#Post139308 Edited April 29, 2011 by Vincent C Quote Link to comment
Musisback Posted May 2, 2011 Author Share Posted May 2, 2011 Well, it does not allow to get the present snapping status. I guess it is just not possible in VW 2010 (in vectorscript) Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.