MoveFeatureInput.defineAsTranslateXYZ Method
Parent Object:
MoveFeatureInputDefined in namespace "adsk::fusion" and the header file is <Fusion/Features/MoveFeatureInput.h>
Description
This method will define a move feature that defines a translation in X, Y, and Z.
Syntax
"moveFeatureInput_var" is a variable referencing a MoveFeatureInput object.returnValue = moveFeatureInput_var.defineAsTranslateXYZ(xDistance, yDistance, zDistance, isDesignSpace) |
"moveFeatureInput_var" is a variable referencing a MoveFeatureInput object.
#include <Fusion/Features/MoveFeatureInput.h>
returnValue = moveFeatureInput_var->defineAsTranslateXYZ(xDistance, yDistance, zDistance, isDesignSpace);
|
Return Value
| boolean |
Returns true if defining the type of move is successful. |
Parameters
| xDistance |
ValueInput |
A ValueInput object that defines the offset in the X direction. If the ValueInput is created using a real value, the distance is in centimeters. If it's defined using a string, the default document units are used. |
| yDistance |
ValueInput |
A ValueInput object that defines the offset in the Y direction. If the ValueInput is created using a real value, the distance is in centimeters. If it's defined using a string, the default document units are used. |
| zDistance |
ValueInput |
A ValueInput object that defines the offset in the Z direction. If the ValueInput is created using a real value, the distance is in centimeters. If it's defined using a string, the default document units are used. |
| isDesignSpace |
boolean |
Defines if the translation is defined with respect to the design or component space. Design space is the same as the root component space. |
Version
Introduced in version January 2023