NX Open C++ Reference Guide
|
Represents a NXOpen::AnimationDesigner::PositionMotorBuilder . More...
Public Types | |
enum | AutoCalculate { AutoCalculateEndTime, AutoCalculateSpeed, AutoCalculateDestination } |
the auto calculate types. More... | |
enum | Axis { AxisAngular, AxisLinear, AxisMixed } |
the axis types. More... | |
Public Member Functions | |
NXOpen::SelectNXObject * | AxisJoint () |
Returns the joint select. More... | |
NXOpen::AnimationDesigner::PositionMotorBuilder::Axis | AxisType () |
Returns the axis type. More... | |
void | BarCalculate (int index) |
Calculates the bar. More... | |
void | CreateBar (int index) |
Creates a new bar. More... | |
void | DeleteBars (const std::vector< int > &bars) |
Deletes the bars. More... | |
void | MirrorBars (const std::vector< int > &bars, double mirrorTime) |
Mirrors the bars. More... | |
NXString | Name () |
Returns the name. More... | |
void | PasteBars (const std::vector< int > &bars, double shiftTime, bool isCut) |
Pastes the bars. More... | |
void | SetAxisType (NXOpen::AnimationDesigner::PositionMotorBuilder::Axis axisType) |
Sets the axis type. More... | |
void | SetBarAcceleration (int index, double acceleration) |
Sets the bar acceleration. More... | |
void | SetBarCalcType (int index, int calcType) |
Sets the bar calculation type. More... | |
void | SetBarDeceleration (int index, double deceleration) |
Sets the bar deceleration. More... | |
void | SetBarEndTime (int index, double endTime) |
Sets the bar end time. More... | |
void | SetBarIncrement (int index, double increment) |
Sets the bar increment. More... | |
void | SetBarLimitAcceleration (int index, bool limitAcceleration) |
Sets the bar limit acceleration. More... | |
void | SetBarName (int index, const NXString &name) |
Sets the bar name. More... | |
void | SetBarName (int index, const char *name) |
Sets the bar name. More... | |
void | SetBarSpeed (int index, double speed) |
Sets the bar speed. More... | |
void | SetBarStartTime (int index, double startTime) |
Sets the bar start time. More... | |
void | SetBarTime (const std::vector< int > &bars, double deltaStart, double deltaDuration) |
Sets the bar time. More... | |
void | SetName (const NXString &name) |
Sets the name. More... | |
void | SetName (const char *name) |
Sets the name. More... | |
void | SplitBar (int index, double splitTime) |
Splits the bars with the start time exp tag. More... | |
void | UpdateDestination () |
Updates the motor destination. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. More... | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. More... | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents a NXOpen::AnimationDesigner::PositionMotorBuilder .
To create a new instance of this class, use NXOpen::AnimationDesigner::PositionMotorCollection::CreatePositionMotorBuilder
Created in NX12.0.0.
NXOpen::SelectNXObject* NXOpen::AnimationDesigner::PositionMotorBuilder::AxisJoint | ( | ) |
Returns the joint select.
This can be a NXOpen::AnimationDesigner::RevoluteJoint .
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
NXOpen::AnimationDesigner::PositionMotorBuilder::Axis NXOpen::AnimationDesigner::PositionMotorBuilder::AxisType | ( | ) |
Returns the axis type.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
void NXOpen::AnimationDesigner::PositionMotorBuilder::BarCalculate | ( | int | index | ) |
Calculates the bar.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
index | index |
void NXOpen::AnimationDesigner::PositionMotorBuilder::CreateBar | ( | int | index | ) |
Creates a new bar.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
index | index |
void NXOpen::AnimationDesigner::PositionMotorBuilder::DeleteBars | ( | const std::vector< int > & | bars | ) |
Deletes the bars.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
bars | bars |
void NXOpen::AnimationDesigner::PositionMotorBuilder::MirrorBars | ( | const std::vector< int > & | bars, |
double | mirrorTime | ||
) |
Mirrors the bars.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
bars | bars |
mirrorTime | mirror time |
NXString NXOpen::AnimationDesigner::PositionMotorBuilder::Name | ( | ) |
Returns the name.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
void NXOpen::AnimationDesigner::PositionMotorBuilder::PasteBars | ( | const std::vector< int > & | bars, |
double | shiftTime, | ||
bool | isCut | ||
) |
Pastes the bars.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
bars | bars |
shiftTime | shift time |
isCut | iscut |
void NXOpen::AnimationDesigner::PositionMotorBuilder::SetAxisType | ( | NXOpen::AnimationDesigner::PositionMotorBuilder::Axis | axisType | ) |
Sets the axis type.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
axisType | axistype |
void NXOpen::AnimationDesigner::PositionMotorBuilder::SetBarAcceleration | ( | int | index, |
double | acceleration | ||
) |
Sets the bar acceleration.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
index | index |
acceleration | acceleration |
void NXOpen::AnimationDesigner::PositionMotorBuilder::SetBarCalcType | ( | int | index, |
int | calcType | ||
) |
Sets the bar calculation type.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
index | index |
calcType | calc type |
void NXOpen::AnimationDesigner::PositionMotorBuilder::SetBarDeceleration | ( | int | index, |
double | deceleration | ||
) |
Sets the bar deceleration.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
index | index |
deceleration | deceleration |
void NXOpen::AnimationDesigner::PositionMotorBuilder::SetBarEndTime | ( | int | index, |
double | endTime | ||
) |
Sets the bar end time.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
index | index |
endTime | end time |
void NXOpen::AnimationDesigner::PositionMotorBuilder::SetBarIncrement | ( | int | index, |
double | increment | ||
) |
Sets the bar increment.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
index | index |
increment | increment |
void NXOpen::AnimationDesigner::PositionMotorBuilder::SetBarLimitAcceleration | ( | int | index, |
bool | limitAcceleration | ||
) |
Sets the bar limit acceleration.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
index | index |
limitAcceleration | limit acceleration |
void NXOpen::AnimationDesigner::PositionMotorBuilder::SetBarName | ( | int | index, |
const NXString & | name | ||
) |
Sets the bar name.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
index | index |
name | name |
void NXOpen::AnimationDesigner::PositionMotorBuilder::SetBarName | ( | int | index, |
const char * | name | ||
) |
Sets the bar name.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
index | index |
name | name |
void NXOpen::AnimationDesigner::PositionMotorBuilder::SetBarSpeed | ( | int | index, |
double | speed | ||
) |
Sets the bar speed.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
index | index |
speed | speed |
void NXOpen::AnimationDesigner::PositionMotorBuilder::SetBarStartTime | ( | int | index, |
double | startTime | ||
) |
Sets the bar start time.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
index | index |
startTime | start time |
void NXOpen::AnimationDesigner::PositionMotorBuilder::SetBarTime | ( | const std::vector< int > & | bars, |
double | deltaStart, | ||
double | deltaDuration | ||
) |
Sets the bar time.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
bars | bars |
deltaStart | deltastart |
deltaDuration | deltaduration |
void NXOpen::AnimationDesigner::PositionMotorBuilder::SetName | ( | const NXString & | name | ) |
Sets the name.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
name | name |
void NXOpen::AnimationDesigner::PositionMotorBuilder::SetName | ( | const char * | name | ) |
Sets the name.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
name | name |
void NXOpen::AnimationDesigner::PositionMotorBuilder::SplitBar | ( | int | index, |
double | splitTime | ||
) |
Splits the bars with the start time exp tag.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")
index | index |
splitTime | split time |
void NXOpen::AnimationDesigner::PositionMotorBuilder::UpdateDestination | ( | ) |
Updates the motor destination.
Created in NX12.0.0.
License requirements : nx_animationdesigner (" NX Animation Designer")