NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::AnimationDesigner::PositionMotorBuilder Class Reference

Represents a NXOpen::AnimationDesigner::PositionMotorBuilder . More...

Inheritance diagram for NXOpen::AnimationDesigner::PositionMotorBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

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::SelectNXObjectAxisJoint ()
 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::NXObjectCommit ()
 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::NXObjectGetObject ()
 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...
 

Detailed Description

Represents a NXOpen::AnimationDesigner::PositionMotorBuilder .


To create a new instance of this class, use NXOpen::AnimationDesigner::PositionMotorCollection::CreatePositionMotorBuilder

Created in NX12.0.0.

Member Enumeration Documentation

the auto calculate types.

Enumerator
AutoCalculateEndTime 

Auto calculate end time.

AutoCalculateSpeed 

Auto calculate speed.

AutoCalculateDestination 

Auto calculate destination.

the axis types.

Enumerator
AxisAngular 

Angular.

AxisLinear 

Linear.

AxisMixed 

Mix angular and linear.

Member Function Documentation

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")

Parameters
indexindex
void NXOpen::AnimationDesigner::PositionMotorBuilder::CreateBar ( int  index)

Creates a new bar.


Created in NX12.0.0.

License requirements : nx_animationdesigner (" NX Animation Designer")

Parameters
indexindex
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")

Parameters
barsbars
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")

Parameters
barsbars
mirrorTimemirror 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")

Parameters
barsbars
shiftTimeshift time
isCutiscut
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")

Parameters
axisTypeaxistype
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")

Parameters
indexindex
accelerationacceleration
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")

Parameters
indexindex
calcTypecalc 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")

Parameters
indexindex
decelerationdeceleration
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")

Parameters
indexindex
endTimeend 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")

Parameters
indexindex
incrementincrement
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")

Parameters
indexindex
limitAccelerationlimit 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")

Parameters
indexindex
namename
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")

Parameters
indexindex
namename
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")

Parameters
indexindex
speedspeed
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")

Parameters
indexindex
startTimestart 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")

Parameters
barsbars
deltaStartdeltastart
deltaDurationdeltaduration
void NXOpen::AnimationDesigner::PositionMotorBuilder::SetName ( const NXString name)

Sets the name.


Created in NX12.0.0.

License requirements : nx_animationdesigner (" NX Animation Designer")

Parameters
namename
void NXOpen::AnimationDesigner::PositionMotorBuilder::SetName ( const char *  name)

Sets the name.


Created in NX12.0.0.

License requirements : nx_animationdesigner (" NX Animation Designer")

Parameters
namename
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")

Parameters
indexindex
splitTimesplit time
void NXOpen::AnimationDesigner::PositionMotorBuilder::UpdateDestination ( )

Updates the motor destination.


Created in NX12.0.0.

License requirements : nx_animationdesigner (" NX Animation Designer")


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.