how to change the work plane
Hi
I'm working on a little Script which sets the viewport rotation to the left/right/bottom/top view. similar to ZBrush where you can snap the viewport to left/right etc.
My problem is, that I have to change the constuction plane. Otherwise it's not possible to create any Objects like Boxes etc.
But I can't find the command to do that.
Is there a command to do that?
Comments
thx miauu :D it's working now
thx miauu :D
it's working now :D
Create a grid helper(or
Create a grid helper(or point) and use the grid transform as the constr. plane
Visit THIS link and watch the video. Is this is what you want?
Tools and Scripts for Autodesk 3dsMax
I don't know how to change
I don't know how to change the constr. plane :s That is problem :(
You rotate the viewport, but
You rotate the viewport, but the constr. plane is the Home grid - you not change it. Why? Objects are created according to constr. plane, not viewport rotation.
Tools and Scripts for Autodesk 3dsMax
Thanks for your answer.
Thanks for your answer. Unfortunately this is not working ... or I do something wrong :(
Maybe you can test my code.
To use it, go into the perspective view and run the code. it will go into the orthographic view and snap the viewport (camera rotation).
Then try to create a plane. It wont work because the constructionplane is still the constructionplane from the perspective view :( (it will work when the camera snaps to the bottom/top view)
Use activeGrid
-- $ is the selected object activeGrid = $
Use
activeGrid = undefine
to activate the Home Grid
Tools and Scripts for Autodesk 3dsMax