NX Open C++ Reference Guide
|
Represents a Mechatronics::MotionProfile builder. More...
Public Types | |
enum | MasterValueUnit { MasterValueUnitLinear, MasterValueUnitRotary, MasterValueUnitTime } |
the Master Unit types More... | |
enum | ProfileCyclicType { ProfileCyclicTypeRelativeCyclic, ProfileCyclicTypeCyclic, ProfileCyclicTypeNonCyclic } |
Indicates which cyclic type should be take.The type of Cam Profile can be switched between non-cyclic, cyclic and relative cyclic. More... | |
enum | SlaveValueUnit { SlaveValueUnitLinearPosition, SlaveValueUnitRotaryPosition, SlaveValueUnitLinearSpeed, SlaveValueUnitRotarySpeed } |
the Slave Unit types More... | |
Public Member Functions | |
void | AddElement (NXOpen::NXObject *part, const NXString &name, double masterPos, double slavePos, double vin, double vout, double ain, double aout, bool vinEqVout, bool ainEqAout, bool constantSpeed) |
Add element to builder. | |
void | AddElement (NXOpen::NXObject *part, const char *name, double masterPos, double slavePos, double vin, double vout, double ain, double aout, bool vinEqVout, bool ainEqAout, bool constantSpeed) |
Add element to builder. | |
NXOpen::Mechatronics::MotionProfileBuilder::ProfileCyclicType | CyclicType () |
Returns the cyclic type of a cam profile Created in NX9.0.0. | |
bool | IsForElecCam () |
Returns the indicator that a motion profile is designed for a electronic cam Created in NX9.0.0. | |
NXOpen::Expression * | MasterMaximum () |
Returns the masterMax. | |
NXOpen::Expression * | MasterMinimum () |
Returns the masterMin. | |
NXOpen::Mechatronics::MotionProfileBuilder::MasterValueUnit | MasterUnit () |
Returns the masterUnit. | |
NXString | Name () |
Returns the name Created in NX7.5.1. | |
void | SetCyclicType (NXOpen::Mechatronics::MotionProfileBuilder::ProfileCyclicType cyclicType) |
Sets the cyclic type of a cam profile Created in NX9.0.0. | |
void | SetForElecCam (bool isForElecCam) |
Sets the indicator that a motion profile is designed for a electronic cam Created in NX9.0.0. | |
void | SetMasterUnit (NXOpen::Mechatronics::MotionProfileBuilder::MasterValueUnit masterUnit) |
Sets the masterUnit. | |
void | SetName (const NXString &name) |
Sets the name Created in NX7.5.1. | |
void | SetName (const char *name) |
Sets the name Created in NX7.5.1. | |
void | SetSlaveUnit (NXOpen::Mechatronics::MotionProfileBuilder::SlaveValueUnit slaveUnit) |
Sets the slaveUnit. | |
NXOpen::Expression * | SlaveMaximum () |
Returns the slaveMax. | |
NXOpen::Expression * | SlaveMinimum () |
Returns the slaveMin. | |
NXOpen::Mechatronics::MotionProfileBuilder::SlaveValueUnit | SlaveUnit () |
Returns the slaveUnit. | |
![]() | |
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 Mechatronics::MotionProfile builder.
To create a new instance of this class, use Mechatronics::MotionProfileCollection::CreateMotionProfileBuilder
Created in NX7.5.1.
the Master Unit types
Indicates which cyclic type should be take.The type of Cam Profile can be switched between non-cyclic, cyclic and relative cyclic.
the Slave Unit types
void NXOpen::Mechatronics::MotionProfileBuilder::AddElement | ( | NXOpen::NXObject * | part, |
const NXString & | name, | ||
double | masterPos, | ||
double | slavePos, | ||
double | vin, | ||
double | vout, | ||
double | ain, | ||
double | aout, | ||
bool | vinEqVout, | ||
bool | ainEqAout, | ||
bool | constantSpeed | ||
) |
Add element to builder.
Created in NX8.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
part | part |
name | name |
masterPos | masterpos |
slavePos | slavepos |
vin | vin |
vout | vout |
ain | ain |
aout | aout |
vinEqVout | vineqvout |
ainEqAout | aineqaout |
constantSpeed | constantspeed |
void NXOpen::Mechatronics::MotionProfileBuilder::AddElement | ( | NXOpen::NXObject * | part, |
const char * | name, | ||
double | masterPos, | ||
double | slavePos, | ||
double | vin, | ||
double | vout, | ||
double | ain, | ||
double | aout, | ||
bool | vinEqVout, | ||
bool | ainEqAout, | ||
bool | constantSpeed | ||
) |
Add element to builder.
Created in NX8.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
part | part |
name | name |
masterPos | masterpos |
slavePos | slavepos |
vin | vin |
vout | vout |
ain | ain |
aout | aout |
vinEqVout | vineqvout |
ainEqAout | aineqaout |
constantSpeed | constantspeed |
NXOpen::Mechatronics::MotionProfileBuilder::ProfileCyclicType NXOpen::Mechatronics::MotionProfileBuilder::CyclicType | ( | ) |
Returns the cyclic type of a cam profile
Created in NX9.0.0.
License requirements : None
bool NXOpen::Mechatronics::MotionProfileBuilder::IsForElecCam | ( | ) |
Returns the indicator that a motion profile is designed for a electronic cam
Created in NX9.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Mechatronics::MotionProfileBuilder::MasterMaximum | ( | ) |
Returns the masterMax.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXOpen::Expression* NXOpen::Mechatronics::MotionProfileBuilder::MasterMinimum | ( | ) |
Returns the masterMin.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXOpen::Mechatronics::MotionProfileBuilder::MasterValueUnit NXOpen::Mechatronics::MotionProfileBuilder::MasterUnit | ( | ) |
Returns the masterUnit.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXString NXOpen::Mechatronics::MotionProfileBuilder::Name | ( | ) |
Returns the name
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
void NXOpen::Mechatronics::MotionProfileBuilder::SetCyclicType | ( | NXOpen::Mechatronics::MotionProfileBuilder::ProfileCyclicType | cyclicType | ) |
Sets the cyclic type of a cam profile
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
cyclicType | cyclictype |
void NXOpen::Mechatronics::MotionProfileBuilder::SetForElecCam | ( | bool | isForElecCam | ) |
Sets the indicator that a motion profile is designed for a electronic cam
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
isForElecCam | isforeleccam |
void NXOpen::Mechatronics::MotionProfileBuilder::SetMasterUnit | ( | NXOpen::Mechatronics::MotionProfileBuilder::MasterValueUnit | masterUnit | ) |
Sets the masterUnit.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
masterUnit | masterunit |
void NXOpen::Mechatronics::MotionProfileBuilder::SetName | ( | const NXString & | name | ) |
Sets the name
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
name | name |
void NXOpen::Mechatronics::MotionProfileBuilder::SetName | ( | const char * | name | ) |
Sets the name
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
name | name |
void NXOpen::Mechatronics::MotionProfileBuilder::SetSlaveUnit | ( | NXOpen::Mechatronics::MotionProfileBuilder::SlaveValueUnit | slaveUnit | ) |
Sets the slaveUnit.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
slaveUnit | slaveunit |
NXOpen::Expression* NXOpen::Mechatronics::MotionProfileBuilder::SlaveMaximum | ( | ) |
Returns the slaveMax.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXOpen::Expression* NXOpen::Mechatronics::MotionProfileBuilder::SlaveMinimum | ( | ) |
Returns the slaveMin.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXOpen::Mechatronics::MotionProfileBuilder::SlaveValueUnit NXOpen::Mechatronics::MotionProfileBuilder::SlaveUnit | ( | ) |
Returns the slaveUnit.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")