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

Represents a Motion::ControlPort builder specific to control input element. More...

Inheritance diagram for NXOpen::Motion::ControlInputPortBuilder:
NXOpen::Motion::MotionBuilder NXOpen::GeometricUtilities::IComponentBuilder NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  MeasuredComponent {
  MeasuredComponentLinearMagnitude, MeasuredComponentX, MeasuredComponentY, MeasuredComponentZ,
  MeasuredComponentAngularMagnitude, MeasuredComponentRx, MeasuredComponentRy, MeasuredComponentRz
}
 the types of components that can be measured by the control input element for the selected variable. More...
 
enum  MeasuredVariable { MeasuredVariableDisplacement, MeasuredVariableVelocity, MeasuredVariableAcceleration }
 the types of variables that can be measured by the control input element. More...
 

Public Member Functions

NXOpen::Motion::ControlInputPortBuilder::MeasuredComponent Component ()
 Returns the component that is measured by the control input element for the selected variable. More...
 
bool Digital ()
 Returns a logical flag to specify whether the element is digital (sampled) or analog. More...
 
NXString Name ()
 Returns the control input port name. More...
 
NXOpen::ExpressionSampleRate ()
 Returns the Sample Rate specifies the sampling frequency in samples per second for this element. More...
 
void SetComponent (NXOpen::Motion::ControlInputPortBuilder::MeasuredComponent component)
 Sets the component that is measured by the control input element for the selected variable. More...
 
void SetDigital (bool digital)
 Sets a logical flag to specify whether the element is digital (sampled) or analog. More...
 
void SetName (const NXString &name)
 Sets the control input port name. More...
 
void SetName (const char *name)
 Sets the control input port name. More...
 
void SetVariable (NXOpen::Motion::ControlInputPortBuilder::MeasuredVariable variable)
 Sets the variable that is measured by the control input element. More...
 
NXOpen::Motion::ControlInputPortBuilder::MeasuredVariable Variable ()
 Returns the variable that is measured by the control input element. 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...
 

Detailed Description

Represents a Motion::ControlPort builder specific to control input element.


To create a new instance of this class, use NXOpen::Motion::ControlInputBuilder::CreateControlInputPortBuilder

Created in NX11.0.0.

Member Enumeration Documentation

the types of components that can be measured by the control input element for the selected variable.

Enumerator
MeasuredComponentLinearMagnitude 

Linear Magnitude.

MeasuredComponentX 

X.

MeasuredComponentY 

Y.

MeasuredComponentZ 

Z.

MeasuredComponentAngularMagnitude 

Angular Magnitude.

MeasuredComponentRx 

RX.

MeasuredComponentRy 

RY.

MeasuredComponentRz 

RZ.

the types of variables that can be measured by the control input element.

Enumerator
MeasuredVariableDisplacement 

Displacement.

MeasuredVariableVelocity 

Velocity.

MeasuredVariableAcceleration 

Acceleration.

Member Function Documentation

NXOpen::Motion::ControlInputPortBuilder::MeasuredComponent NXOpen::Motion::ControlInputPortBuilder::Component ( )

Returns the component that is measured by the control input element for the selected variable.


Created in NX11.0.0.

License requirements : mechanisms ("MECHANISMS")

bool NXOpen::Motion::ControlInputPortBuilder::Digital ( )

Returns a logical flag to specify whether the element is digital (sampled) or analog.

If TRUE, the element will be considered digital and will require a sample rate.
Created in NX11.0.0.

License requirements : mechanisms ("MECHANISMS")

NXString NXOpen::Motion::ControlInputPortBuilder::Name ( )

Returns the control input port name.

Must be unique across all motion elements.
Created in NX11.0.0.

License requirements : mechanisms ("MECHANISMS")

NXOpen::Expression* NXOpen::Motion::ControlInputPortBuilder::SampleRate ( )

Returns the Sample Rate specifies the sampling frequency in samples per second for this element.

A value is required if Digital flag is set to TRUE.
Created in NX11.0.0.

License requirements : mechanisms ("MECHANISMS")

void NXOpen::Motion::ControlInputPortBuilder::SetComponent ( NXOpen::Motion::ControlInputPortBuilder::MeasuredComponent  component)

Sets the component that is measured by the control input element for the selected variable.


Created in NX11.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
componentcomponent
void NXOpen::Motion::ControlInputPortBuilder::SetDigital ( bool  digital)

Sets a logical flag to specify whether the element is digital (sampled) or analog.

If TRUE, the element will be considered digital and will require a sample rate.
Created in NX11.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
digitaldigital
void NXOpen::Motion::ControlInputPortBuilder::SetName ( const NXString name)

Sets the control input port name.

Must be unique across all motion elements.
Created in NX11.0.0.

License requirements : mechanisms ("MECHANISMS")

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

Sets the control input port name.

Must be unique across all motion elements.
Created in NX11.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
namename
void NXOpen::Motion::ControlInputPortBuilder::SetVariable ( NXOpen::Motion::ControlInputPortBuilder::MeasuredVariable  variable)

Sets the variable that is measured by the control input element.


Created in NX11.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
variablevariable
NXOpen::Motion::ControlInputPortBuilder::MeasuredVariable NXOpen::Motion::ControlInputPortBuilder::Variable ( )

Returns the variable that is measured by the control input element.


Created in NX11.0.0.

License requirements : mechanisms ("MECHANISMS")


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