Is there a scripting command to enable me to move a group of objects relative to their own normals? i.e. move everything by 1000mm in direction of their normals?
Cheers
Dan
architecture, sustainability, building performance, environmental design, architectural science...
© Copyright 2008 Autodesk, Inc. All rights reserved. Privacy Policy - Legal Notices & Trademarks - Report Piracy
I am not really to sure
I am not really to sure about scripting functionality for this, but in terms of the control for an object I believe you need to look at "object orientation" -- if you select an object this can be found in the Selection Information panel.
I'll investigate further and see what I can work out...
Please search before posting a question.
thank you
thank you
Okay I have found out that
Okay I have found out that apparently there isn't a specific script function that will do this, but I was given the following example function that would do the job:
function MoveObjectByNormal(distance) nx, ny, nz = get("object.normal", objIndex) cmd("object.move", objIndex, nx*distance, ny*distance, nz*distance) endHope this helps.
Please search before posting a question.