MoveFeature.redefineAsPointToPoint Method
Parent Object:
MoveFeatureDefined in namespace "adsk::fusion" and the header file is <Fusion/Features/MoveFeature.h>
Description
Redefines the move feature to be a translation from one point to another.
To use this method, you need to position the timeline marker to immediately before this feature. This can be accomplished using the following code: thisFeature.timelineObject.rollTo(True)
Syntax
"moveFeature_var" is a variable referencing a MoveFeature object.returnValue = moveFeature_var.redefineAsPointToPoint(originPoint, targetPoint) |
"moveFeature_var" is a variable referencing a MoveFeature object.
#include <Fusion/Features/MoveFeature.h>
returnValue = moveFeature_var->redefineAsPointToPoint(originPoint, targetPoint);
|
Return Value
| boolean |
Returns true if the redefinition is successful. |
Parameters
| originPoint |
Base |
The first point that defines the start position of the move. |
| targetPoint |
Base |
The second point that defines the direction and distance of the move. |
Version
Introduced in version January 2023