NX Open C++ Reference Guide
|
Represents a SpringBuilder <br> To create a new instance of this class, use @link Motion::SpringCollection::CreateSpringBuilder Motion::SpringCollection::CreateSpringBuilder @endlink <br>
Default values. More...
Public Member Functions | |
NXOpen::Expression * | CoefficientExpression () |
Returns the translational coefficient expression Created in NX8.5.0. | |
NXOpen::CAE::Function * | CoefficientFunction () |
Returns the function tag. | |
NXOpen::Motion::ConnectorCoefficientTypes | CoefficientType () |
Returns the coefficient type Created in NX8.5.0. | |
bool | CreateDamper () |
Returns the create damper toggle Created in NX8.5.0. | |
NXString | DamperName () |
Returns the damper dname Created in NX8.5.0. | |
NXOpen::Expression * | FreeAngleExpression () |
Returns the free angle expression Created in NX8.0.0. | |
double | FreeLength () |
Returns the free length | |
NXOpen::Expression * | FreeLengthExpression () |
Returns the free length expression Created in NX8.0.0. | |
double | InitialLength () |
Returns the initial length used for spring attached to slide joint | |
NXOpen::Expression * | InitialLengthExpression () |
Returns the initial length expression for spring which attachs to slide joint Created in NX8.0.0. | |
bool | LengthFlag () |
Returns the length flag, if this flag is set to true, it will not update the preloaded length, if this flag is set to false, it will update the preloaded length according to the installed length Created in NX8.5.0. | |
NXString | Name () |
Returns the name Created in NX6.0.0. | |
NXOpen::Expression * | PreloadAngleExpression () |
Returns the preload expression Created in NX8.5.0. | |
NXOpen::Expression * | PreloadExpression () |
Returns the preload expression Created in NX8.5.0. | |
void | SetCoefficientFunction (NXOpen::CAE::Function *function) |
Sets the function tag. | |
void | SetCoefficientType (NXOpen::Motion::ConnectorCoefficientTypes coefficientType) |
Sets the coefficient type Created in NX8.5.0. | |
void | SetCreateDamper (bool createDamper) |
Sets the create damper toggle Created in NX8.5.0. | |
void | SetDamperName (const NXString &damperName) |
Sets the damper dname Created in NX8.5.0. | |
void | SetDamperName (const char *damperName) |
Sets the damper dname Created in NX8.5.0. | |
void | SetFreeLength (double freeLength) |
Sets the free length | |
void | SetInitialLength (double initialLength) |
Sets the initial length used for spring attached to slide joint | |
void | SetLengthFlag (bool lengthFlag) |
Sets the length flag, if this flag is set to true, it will not update the preloaded length, if this flag is set to false, it will update the preloaded length according to the installed length Created in NX8.5.0. | |
void | SetName (const NXString &name) |
Sets the name Created in NX6.0.0. | |
void | SetName (const char *name) |
Sets the name Created in NX6.0.0. | |
void | SetStiffness (double stiffness) |
Sets the stiffness. | |
void | SetStiffnessFunction (NXOpen::CAE::Function *function) |
Sets the function tag. | |
void | SetStiffnessType (NXOpen::Motion::ConnectorCoefficientTypes stiffnessType) |
Sets the stiffness type Created in NX6.0.0. | |
double | Stiffness () |
Returns the stiffness. | |
NXOpen::Expression * | StiffnessExpression () |
Returns the stiffness expression Created in NX8.0.0. | |
NXOpen::CAE::Function * | StiffnessFunction () |
Returns the function tag. | |
NXOpen::Motion::ConnectorCoefficientTypes | StiffnessType () |
Returns the stiffness type Created in NX6.0.0. | |
NXOpen::Expression * | TorsionalCoefficientExpression () |
Returns the torsional coefficient expression Created in NX8.5.0. | |
NXOpen::Expression * | TorsionalStiffnessExpression () |
Returns the torsional stiffness expression Created in NX8.0.0. | |
![]() | |
NXOpen::Motion::SelectLink * | ActionLink () |
Returns the action link. | |
NXOpen::Point * | ActionPoint () |
Returns the action point. | |
NXOpen::Motion::ConnectorBuilder::AttachmentType | Attachment () |
Returns the attachment type Created in NX6.0.0. | |
NXOpen::Motion::SelectJoint * | Joint () |
Returns the joint . | |
NXOpen::Motion::SelectLink * | ReactionLink () |
Returns the reaction link. | |
NXOpen::Point * | ReactionPoint () |
Returns the reaction point. | |
void | SetActionPoint (NXOpen::Point *actionPoint) |
Sets the action point. | |
void | SetAttachment (NXOpen::Motion::ConnectorBuilder::AttachmentType attachment) |
Sets the attachment type Created in NX6.0.0. | |
void | SetReactionPoint (NXOpen::Point *reactionPoint) |
Sets the reaction point. | |
![]() | |
double | DisplayScale () |
Returns the icon display scale Created in NX5.0.0. | |
NXString | GroupName () |
Returns the group name Created in NX5.0.0. | |
NXOpen::Motion::MotionObject::GroupType | GroupType () |
Returns the group type Created in NX5.0.0. | |
void | SetDisplayScale (double displayScale) |
Sets the icon display scale Created in NX5.0.0. | |
void | SetGroupName (const NXString &groupName) |
Sets the group name Created in NX5.0.0. | |
void | SetGroupName (const char *groupName) |
Sets the group name Created in NX5.0.0. | |
void | SetGroupType (NXOpen::Motion::MotionObject::GroupType groupType) |
Sets the group type Created in NX5.0.0. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Additional Inherited Members | |
![]() | |
enum | AttachmentType { AttachmentTypeLink, AttachmentTypeSliderJoint, AttachmentTypeRevoluteJoint } |
Definitions of connector attachment type. More... | |
Represents a SpringBuilder <br> To create a new instance of this class, use @link Motion::SpringCollection::CreateSpringBuilder Motion::SpringCollection::CreateSpringBuilder @endlink <br>
Default values.
Property | Value |
---|---|
FreeLength (deprecated) |
0.0 |
InitialLength (deprecated) |
0.0 |
Stiffness (deprecated) |
1.0 |
StiffnessType |
Constant |
Created in NX6.0.0.
NXOpen::Expression* NXOpen::Motion::SpringBuilder::CoefficientExpression | ( | ) |
Returns the translational coefficient expression
Created in NX8.5.0.
License requirements : None
NXOpen::CAE::Function* NXOpen::Motion::SpringBuilder::CoefficientFunction | ( | ) |
Returns the function tag.
Only valid if Motion::ConnectorCoefficientTypesSpline is set
Created in NX8.5.0.
License requirements : None
NXOpen::Motion::ConnectorCoefficientTypes NXOpen::Motion::SpringBuilder::CoefficientType | ( | ) |
Returns the coefficient type
Created in NX8.5.0.
License requirements : None
bool NXOpen::Motion::SpringBuilder::CreateDamper | ( | ) |
Returns the create damper toggle
Created in NX8.5.0.
License requirements : None
NXString NXOpen::Motion::SpringBuilder::DamperName | ( | ) |
Returns the damper dname
Created in NX8.5.0.
License requirements : None
NXOpen::Expression* NXOpen::Motion::SpringBuilder::FreeAngleExpression | ( | ) |
Returns the free angle expression
Created in NX8.0.0.
License requirements : None
double NXOpen::Motion::SpringBuilder::FreeLength | ( | ) |
Returns the free length
Obtain the expression using Motion::SpringBuilder::FreeLengthExpression or Motion::SpringBuilder::FreeLengthExpression to query or edit it.
Created in NX6.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Motion::SpringBuilder::FreeLengthExpression | ( | ) |
Returns the free length expression
Created in NX8.0.0.
License requirements : None
double NXOpen::Motion::SpringBuilder::InitialLength | ( | ) |
Returns the initial length used for spring attached to slide joint
Obtian the expression using Motion::SpringBuilder::InitialLengthExpression to query or edit it.
Created in NX6.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Motion::SpringBuilder::InitialLengthExpression | ( | ) |
Returns the initial length expression for spring which attachs to slide joint
Created in NX8.0.0.
License requirements : None
bool NXOpen::Motion::SpringBuilder::LengthFlag | ( | ) |
Returns the length flag, if this flag is set to true, it will not update the preloaded length, if this flag is set to false, it will update the preloaded length according to the installed length
Created in NX8.5.0.
License requirements : None
NXString NXOpen::Motion::SpringBuilder::Name | ( | ) |
Returns the name
Created in NX6.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Motion::SpringBuilder::PreloadAngleExpression | ( | ) |
Returns the preload expression
Created in NX8.5.0.
License requirements : None
NXOpen::Expression* NXOpen::Motion::SpringBuilder::PreloadExpression | ( | ) |
Returns the preload expression
Created in NX8.5.0.
License requirements : None
void NXOpen::Motion::SpringBuilder::SetCoefficientFunction | ( | NXOpen::CAE::Function * | function | ) |
Sets the function tag.
Only valid if Motion::ConnectorCoefficientTypesSpline is set
Created in NX8.5.0.
License requirements : mechanisms ("MECHANISMS")
function | function |
void NXOpen::Motion::SpringBuilder::SetCoefficientType | ( | NXOpen::Motion::ConnectorCoefficientTypes | coefficientType | ) |
Sets the coefficient type
Created in NX8.5.0.
License requirements : mechanisms ("MECHANISMS")
coefficientType | coefficienttype |
void NXOpen::Motion::SpringBuilder::SetCreateDamper | ( | bool | createDamper | ) |
Sets the create damper toggle
Created in NX8.5.0.
License requirements : None
createDamper | createdamper |
void NXOpen::Motion::SpringBuilder::SetDamperName | ( | const NXString & | damperName | ) |
Sets the damper dname
Created in NX8.5.0.
License requirements : mechanisms ("MECHANISMS")
damperName | dampername |
void NXOpen::Motion::SpringBuilder::SetDamperName | ( | const char * | damperName | ) |
Sets the damper dname
Created in NX8.5.0.
License requirements : mechanisms ("MECHANISMS")
damperName | dampername |
void NXOpen::Motion::SpringBuilder::SetFreeLength | ( | double | freeLength | ) |
Sets the free length
Obtain the expression using Motion::SpringBuilder::FreeLengthExpression or Motion::SpringBuilder::FreeLengthExpression to query or edit it.
Created in NX6.0.0.
License requirements : mechanisms ("MECHANISMS")
freeLength | freelength |
void NXOpen::Motion::SpringBuilder::SetInitialLength | ( | double | initialLength | ) |
Sets the initial length used for spring attached to slide joint
Obtian the expression using Motion::SpringBuilder::InitialLengthExpression to query or edit it.
Created in NX6.0.0.
License requirements : mechanisms ("MECHANISMS")
initialLength | initiallength |
void NXOpen::Motion::SpringBuilder::SetLengthFlag | ( | bool | lengthFlag | ) |
Sets the length flag, if this flag is set to true, it will not update the preloaded length, if this flag is set to false, it will update the preloaded length according to the installed length
Created in NX8.5.0.
License requirements : mechanisms ("MECHANISMS")
lengthFlag | lengthflag |
void NXOpen::Motion::SpringBuilder::SetName | ( | const NXString & | name | ) |
Sets the name
Created in NX6.0.0.
License requirements : mechanisms ("MECHANISMS")
name | name |
void NXOpen::Motion::SpringBuilder::SetName | ( | const char * | name | ) |
Sets the name
Created in NX6.0.0.
License requirements : mechanisms ("MECHANISMS")
name | name |
void NXOpen::Motion::SpringBuilder::SetStiffness | ( | double | stiffness | ) |
Sets the stiffness.
Only valid if Motion::ConnectorCoefficientTypesConstant is set
Created in NX6.0.0.
License requirements : mechanisms ("MECHANISMS")
stiffness | stiffness |
void NXOpen::Motion::SpringBuilder::SetStiffnessFunction | ( | NXOpen::CAE::Function * | function | ) |
Sets the function tag.
Only valid if Motion::ConnectorCoefficientTypesSpline is set
Created in NX6.0.0.
License requirements : mechanisms ("MECHANISMS")
function | function |
void NXOpen::Motion::SpringBuilder::SetStiffnessType | ( | NXOpen::Motion::ConnectorCoefficientTypes | stiffnessType | ) |
Sets the stiffness type
Created in NX6.0.0.
License requirements : mechanisms ("MECHANISMS")
stiffnessType | stiffnesstype |
double NXOpen::Motion::SpringBuilder::Stiffness | ( | ) |
Returns the stiffness.
Only valid if Motion::ConnectorCoefficientTypesConstant is set
Created in NX6.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Motion::SpringBuilder::StiffnessExpression | ( | ) |
Returns the stiffness expression
Created in NX8.0.0.
License requirements : None
NXOpen::CAE::Function* NXOpen::Motion::SpringBuilder::StiffnessFunction | ( | ) |
Returns the function tag.
Only valid if Motion::ConnectorCoefficientTypesSpline is set
Created in NX6.0.0.
License requirements : None
NXOpen::Motion::ConnectorCoefficientTypes NXOpen::Motion::SpringBuilder::StiffnessType | ( | ) |
Returns the stiffness type
Created in NX6.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Motion::SpringBuilder::TorsionalCoefficientExpression | ( | ) |
Returns the torsional coefficient expression
Created in NX8.5.0.
License requirements : None
NXOpen::Expression* NXOpen::Motion::SpringBuilder::TorsionalStiffnessExpression | ( | ) |
Returns the torsional stiffness expression
Created in NX8.0.0.
License requirements : None