NX Open C++ Reference Guide
|
Represents a @link Motion::MotionSensorBuilder Motion::MotionSensorBuilder@endlink <br> To create a new instance of this class, use @link Motion::MotionSensorCollection::CreateMotionSensorBuilder Motion::MotionSensorCollection::CreateMotionSensorBuilder @endlink <br>
Default values. More...
Public Types | |
enum | Component { ComponentLinearMagnitude, ComponentX, ComponentY, ComponentZ, ComponentAngularMagnitude, ComponentRx, ComponentRy, ComponentRz } |
component enumeration type More... | |
enum | Reference { ReferenceAbsolute, ReferenceRelative, ReferenceUserDefined } |
reference frame enumeration type More... | |
enum | Types { TypesDisplacement, TypesVelocity, TypesAcceleration, TypesForce } |
sensor type More... | |
Public Member Functions | |
NXOpen::Motion::MotionSensorBuilder::Component | ComponentType () |
Returns the component type Created in NX6.0.0. | |
NXOpen::SelectNXObject * | MeasurementObject () |
Returns the first marker object Created in NX6.0.0. | |
NXString | Name () |
Returns the name Created in NX6.0.0. | |
NXOpen::Motion::MotionSensorBuilder::Reference | ReferenceFrame () |
Returns the reference frame type Created in NX6.0.0. | |
NXOpen::Motion::SelectMarker * | ReferenceMarker () |
Returns the reference marker object Created in NX6.0.0. | |
NXOpen::Motion::SelectMarker * | RelativeMarker () |
Returns the second marker object Created in NX6.0.0. | |
void | SetComponentType (NXOpen::Motion::MotionSensorBuilder::Component componentType) |
Sets the component type Created in NX6.0.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 | SetReferenceFrame (NXOpen::Motion::MotionSensorBuilder::Reference referenceFrame) |
Sets the reference frame type Created in NX6.0.0. | |
void | SetType (NXOpen::Motion::MotionSensorBuilder::Types type) |
Sets the sensor type Created in NX6.0.0. | |
NXOpen::Motion::MotionSensorBuilder::Types | Type () |
Returns the sensor type Created in NX6.0.0. | |
![]() | |
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. | |
Represents a @link Motion::MotionSensorBuilder Motion::MotionSensorBuilder@endlink <br> To create a new instance of this class, use @link Motion::MotionSensorCollection::CreateMotionSensorBuilder Motion::MotionSensorCollection::CreateMotionSensorBuilder @endlink <br>
Default values.
Property | Value |
---|---|
ComponentType |
LinearMagnitude |
ReferenceFrame |
Absolute |
Type |
Displacement |
Created in NX6.0.0.
NXOpen::Motion::MotionSensorBuilder::Component NXOpen::Motion::MotionSensorBuilder::ComponentType | ( | ) |
Returns the component type
Created in NX6.0.0.
License requirements : None
NXOpen::SelectNXObject* NXOpen::Motion::MotionSensorBuilder::MeasurementObject | ( | ) |
Returns the first marker object
Created in NX6.0.0.
License requirements : None
NXString NXOpen::Motion::MotionSensorBuilder::Name | ( | ) |
Returns the name
Created in NX6.0.0.
License requirements : None
NXOpen::Motion::MotionSensorBuilder::Reference NXOpen::Motion::MotionSensorBuilder::ReferenceFrame | ( | ) |
Returns the reference frame type
Created in NX6.0.0.
License requirements : None
NXOpen::Motion::SelectMarker* NXOpen::Motion::MotionSensorBuilder::ReferenceMarker | ( | ) |
Returns the reference marker object
Created in NX6.0.0.
License requirements : None
NXOpen::Motion::SelectMarker* NXOpen::Motion::MotionSensorBuilder::RelativeMarker | ( | ) |
Returns the second marker object
Created in NX6.0.0.
License requirements : None
void NXOpen::Motion::MotionSensorBuilder::SetComponentType | ( | NXOpen::Motion::MotionSensorBuilder::Component | componentType | ) |
Sets the component type
Created in NX6.0.0.
License requirements : mechanisms ("MECHANISMS")
componentType | componenttype |
void NXOpen::Motion::MotionSensorBuilder::SetName | ( | const NXString & | name | ) |
Sets the name
Created in NX6.0.0.
License requirements : mechanisms ("MECHANISMS")
name | name |
void NXOpen::Motion::MotionSensorBuilder::SetName | ( | const char * | name | ) |
Sets the name
Created in NX6.0.0.
License requirements : mechanisms ("MECHANISMS")
name | name |
void NXOpen::Motion::MotionSensorBuilder::SetReferenceFrame | ( | NXOpen::Motion::MotionSensorBuilder::Reference | referenceFrame | ) |
Sets the reference frame type
Created in NX6.0.0.
License requirements : mechanisms ("MECHANISMS")
referenceFrame | referenceframe |
void NXOpen::Motion::MotionSensorBuilder::SetType | ( | NXOpen::Motion::MotionSensorBuilder::Types | type | ) |
Sets the sensor type
Created in NX6.0.0.
License requirements : mechanisms ("MECHANISMS")
type | type |
NXOpen::Motion::MotionSensorBuilder::Types NXOpen::Motion::MotionSensorBuilder::Type | ( | ) |
Returns the sensor type
Created in NX6.0.0.
License requirements : None