NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::Motion::SpringBuilder Class Reference

Represents a SpringBuilder
To create a new instance of this class, use NXOpen::Motion::SpringCollection::CreateSpringBuilder
Default values. More...

Inheritance diagram for NXOpen::Motion::SpringBuilder:
NXOpen::Motion::ConnectorBuilder NXOpen::Motion::MotionBuilder NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Member Functions

NXOpen::ExpressionCoefficientExpression ()
 Returns the translational coefficient expression
Created in NX8.5.0. More...
 
NXOpen::CAE::FunctionCoefficientFunction ()
 Returns the function tag. More...
 
NXOpen::Motion::ConnectorCoefficientTypes CoefficientType ()
 Returns the coefficient type
Created in NX8.5.0. More...
 
bool CreateDamper ()
 Returns the create damper toggle
Created in NX8.5.0. More...
 
NXString DamperName ()
 Returns the damper dname
Created in NX8.5.0. More...
 
NXOpen::ExpressionFreeAngleExpression ()
 Returns the free angle expression
Created in NX8.0.0. More...
 
double FreeLength ()
 Returns the free length
More...
 
NXOpen::ExpressionFreeLengthExpression ()
 Returns the free length expression
Created in NX8.0.0. More...
 
double InitialLength ()
 Returns the initial length used for spring attached to slide joint
More...
 
NXOpen::ExpressionInitialLengthExpression ()
 Returns the initial length expression for spring which attachs to slide joint
Created in NX8.0.0. More...
 
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. More...
 
NXString Name ()
 Returns the name
Created in NX6.0.0. More...
 
NXOpen::ExpressionPreloadAngleExpression ()
 Returns the preload expression
Created in NX8.5.0. More...
 
NXOpen::ExpressionPreloadExpression ()
 Returns the preload expression
Created in NX8.5.0. More...
 
void SetCoefficientFunction (NXOpen::CAE::Function *function)
 Sets the function tag. More...
 
void SetCoefficientType (NXOpen::Motion::ConnectorCoefficientTypes coefficientType)
 Sets the coefficient type
Created in NX8.5.0. More...
 
void SetCreateDamper (bool createDamper)
 Sets the create damper toggle
Created in NX8.5.0. More...
 
void SetDamperName (const NXString &damperName)
 Sets the damper dname
Created in NX8.5.0. More...
 
void SetDamperName (const char *damperName)
 Sets the damper dname
Created in NX8.5.0. More...
 
void SetFreeLength (double freeLength)
 Sets the free length
More...
 
void SetInitialLength (double initialLength)
 Sets the initial length used for spring attached to slide joint
More...
 
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. More...
 
void SetName (const NXString &name)
 Sets the name
Created in NX6.0.0. More...
 
void SetName (const char *name)
 Sets the name
Created in NX6.0.0. More...
 
void SetStiffness (double stiffness)
 Sets the stiffness. More...
 
void SetStiffnessFunction (NXOpen::CAE::Function *function)
 Sets the function tag. More...
 
void SetStiffnessType (NXOpen::Motion::ConnectorCoefficientTypes stiffnessType)
 Sets the stiffness type
Created in NX6.0.0. More...
 
double Stiffness ()
 Returns the stiffness. More...
 
NXOpen::ExpressionStiffnessExpression ()
 Returns the stiffness expression
Created in NX8.0.0. More...
 
NXOpen::CAE::FunctionStiffnessFunction ()
 Returns the function tag. More...
 
NXOpen::Motion::ConnectorCoefficientTypes StiffnessType ()
 Returns the stiffness type
Created in NX6.0.0. More...
 
NXOpen::ExpressionTorsionalCoefficientExpression ()
 Returns the torsional coefficient expression
Created in NX8.5.0. More...
 
NXOpen::ExpressionTorsionalStiffnessExpression ()
 Returns the torsional stiffness expression
Created in NX8.0.0. More...
 
- Public Member Functions inherited from NXOpen::Motion::ConnectorBuilder
NXOpen::Motion::SelectLinkActionLink ()
 Returns the action link. More...
 
NXOpen::PointActionPoint ()
 Returns the action point. More...
 
NXOpen::Motion::ConnectorBuilder::AttachmentType Attachment ()
 Returns the attachment type
Created in NX6.0.0. More...
 
NXOpen::Motion::SelectJointJoint ()
 Returns the joint . More...
 
NXOpen::Motion::SelectLinkReactionLink ()
 Returns the reaction link. More...
 
NXOpen::PointReactionPoint ()
 Returns the reaction point. More...
 
void SetActionPoint (NXOpen::Point *actionPoint)
 Sets the action point. More...
 
void SetAttachment (NXOpen::Motion::ConnectorBuilder::AttachmentType attachment)
 Sets the attachment type
Created in NX6.0.0. More...
 
void SetReactionPoint (NXOpen::Point *reactionPoint)
 Sets the reaction point. More...
 
- Public Member Functions inherited from NXOpen::Motion::MotionBuilder
double DisplayScale ()
 Returns the icon display scale
Created in NX5.0.0. More...
 
NXString GroupName ()
 Returns the group name
Created in NX5.0.0. More...
 
NXOpen::Motion::MotionObject::GroupType GroupType ()
 Returns the group type
Created in NX5.0.0. More...
 
void SetDisplayScale (double displayScale)
 Sets the icon display scale
Created in NX5.0.0. More...
 
void SetGroupName (const NXString &groupName)
 Sets the group name
Created in NX5.0.0. More...
 
void SetGroupName (const char *groupName)
 Sets the group name
Created in NX5.0.0. More...
 
void SetGroupType (NXOpen::Motion::MotionObject::GroupType groupType)
 Sets the group type
Created in NX5.0.0. 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...
 

Additional Inherited Members

- Public Types inherited from NXOpen::Motion::ConnectorBuilder
enum  AttachmentType { AttachmentTypeLink, AttachmentTypeSliderJoint, AttachmentTypeRevoluteJoint }
 Definitions of connector attachment type. More...
 

Detailed Description

Represents a SpringBuilder
To create a new instance of this class, use NXOpen::Motion::SpringCollection::CreateSpringBuilder
Default values.

Property Value

FreeLength (deprecated)

0.0

InitialLength (deprecated)

0.0

Stiffness (deprecated)

1.0

StiffnessType

Constant


Created in NX6.0.0.

Member Function Documentation

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

Deprecated:
Deprecated in NX8.0.0.

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

Deprecated:
Deprecated in NX8.0.0.

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

Parameters
functionfunction
void NXOpen::Motion::SpringBuilder::SetCoefficientType ( NXOpen::Motion::ConnectorCoefficientTypes  coefficientType)

Sets the coefficient type
Created in NX8.5.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
coefficientTypecoefficienttype
void NXOpen::Motion::SpringBuilder::SetCreateDamper ( bool  createDamper)

Sets the create damper toggle
Created in NX8.5.0.



License requirements : None

Parameters
createDampercreatedamper
void NXOpen::Motion::SpringBuilder::SetDamperName ( const NXString damperName)

Sets the damper dname
Created in NX8.5.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
damperNamedampername
void NXOpen::Motion::SpringBuilder::SetDamperName ( const char *  damperName)

Sets the damper dname
Created in NX8.5.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
damperNamedampername
void NXOpen::Motion::SpringBuilder::SetFreeLength ( double  freeLength)

Sets the free length

Deprecated:
Deprecated in NX8.0.0.

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

Parameters
freeLengthfreelength
void NXOpen::Motion::SpringBuilder::SetInitialLength ( double  initialLength)

Sets the initial length used for spring attached to slide joint

Deprecated:
Deprecated in NX8.0.0.

Obtian the expression using Motion::SpringBuilder::InitialLengthExpression to query or edit it.


Created in NX6.0.0.

License requirements : mechanisms ("MECHANISMS")

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

Parameters
lengthFlaglengthflag
void NXOpen::Motion::SpringBuilder::SetName ( const NXString name)

Sets the name
Created in NX6.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
namename
void NXOpen::Motion::SpringBuilder::SetName ( const char *  name)

Sets the name
Created in NX6.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
namename
void NXOpen::Motion::SpringBuilder::SetStiffness ( double  stiffness)

Sets the stiffness.

Only valid if Motion::ConnectorCoefficientTypesConstant is set

Deprecated:
Deprecated in NX8.0.0. Obtain the expression using Motion::SpringBuilder::Stiffness and Motion::SpringBuilder::TorsionalStiffnessExpression to query or edit it.


Created in NX6.0.0.

License requirements : mechanisms ("MECHANISMS")

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

Parameters
functionfunction
void NXOpen::Motion::SpringBuilder::SetStiffnessType ( NXOpen::Motion::ConnectorCoefficientTypes  stiffnessType)

Sets the stiffness type
Created in NX6.0.0.



License requirements : mechanisms ("MECHANISMS")

Parameters
stiffnessTypestiffnesstype
double NXOpen::Motion::SpringBuilder::Stiffness ( )

Returns the stiffness.

Only valid if Motion::ConnectorCoefficientTypesConstant is set

Deprecated:
Deprecated in NX8.0.0. Obtain the expression using Motion::SpringBuilder::Stiffness and Motion::SpringBuilder::TorsionalStiffnessExpression to query or edit it.


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


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