NX Open C++ Reference Guide
|
Represents a Mechatronics::CamProfile builder. More...
Classes | |
struct | Element |
Contains segment information of a motion segment. More... | |
Public Types | |
enum | MasterValueUnit { MasterValueUnitLinear, MasterValueUnitRotary, MasterValueUnitTime } |
The master value unit indicates which type master joint is. 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 master value unit indicates which type master joint is. More... | |
Public Member Functions | |
void | AddElement (NXOpen::NXObject *part, const NXOpen::Mechatronics::CamProfileBuilder::Element &element) |
Add element to builder. | |
void | ClearElements () |
Clear elements . | |
NXOpen::Mechatronics::CamProfileBuilder::ProfileCyclicType | CyclicType () |
Returns the cyclic type of a cam profile Created in NX9.0.0. | |
void | EditElement (int index, NXOpen::NXObject *part, const NXOpen::Mechatronics::CamProfileBuilder::Element &element) |
Edit the specific element of builder. | |
int | FindElementIndex (const NXOpen::Mechatronics::CamProfileBuilder::Element &element) |
Find the element index. | |
bool | IsForElecCam () |
Returns the indicator that a cam profile is designed for a electronic cam Created in NX9.0.0. | |
NXOpen::Expression * | MasterMaximum () |
Returns the maximum master value Created in NX9.0.0. | |
NXOpen::Expression * | MasterMinimum () |
Returns the minimum master value Created in NX9.0.0. | |
NXOpen::Mechatronics::CamProfileBuilder::MasterValueUnit | MasterUnit () |
Returns the type of master joint Created in NX9.0.0. | |
NXString | Name () |
Returns the cam profile name Created in NX9.0.0. | |
void | RemoveElementByIndex (int index) |
Remove element by index. | |
void | SetCyclicType (NXOpen::Mechatronics::CamProfileBuilder::ProfileCyclicType cyclicType) |
Sets the cyclic type of a cam profile Created in NX9.0.0. | |
void | SetForElecCam (bool isForElecCam) |
Sets the indicator that a cam profile is designed for a electronic cam Created in NX9.0.0. | |
void | SetMasterUnit (NXOpen::Mechatronics::CamProfileBuilder::MasterValueUnit masterUnit) |
Sets the type of master joint Created in NX9.0.0. | |
void | SetName (const NXString &name) |
Sets the cam profile name Created in NX9.0.0. | |
void | SetName (const char *name) |
Sets the cam profile name Created in NX9.0.0. | |
void | SetSegmentTable (NXOpen::Mechatronics::CamProfile *segmentTableObject) |
Set segment table. | |
void | SetSlaveUnit (NXOpen::Mechatronics::CamProfileBuilder::SlaveValueUnit slaveUnit) |
Sets the type of slave joint or slave controller Created in NX9.0.0. | |
NXOpen::Expression * | SlaveMaximum () |
Returns the maximum slave value. | |
NXOpen::Expression * | SlaveMinimum () |
Returns the minimum slave Created in NX9.0.0. | |
NXOpen::Mechatronics::CamProfileBuilder::SlaveValueUnit | SlaveUnit () |
Returns the type of slave joint or slave controller Created in NX9.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 Mechatronics::CamProfile builder.
To create a new instance of this class, use Mechatronics::CamProfileCollection::CreateCamProfileBuilder
Created in NX9.0.0.
Indicates which cyclic type should be take.The type of Cam Profile can be switched between non-cyclic, cyclic and relative cyclic.
ProfileCyclicTypeRelativeCyclic |
In Relative Cyclic Cam Profiles the start point and end point of the profile do not necessarily have to be equal. |
ProfileCyclicTypeCyclic |
In Cyclic Cam Profiles the points at the beginning and the end of the Master Axis range need to be identical with respect to Slave Axis value, slope and curve. |
ProfileCyclicTypeNonCyclic |
Non-cyclic Cam Profiles are defined only in the defined master axis range. Exceeding this range will cause an error. |
void NXOpen::Mechatronics::CamProfileBuilder::AddElement | ( | NXOpen::NXObject * | part, |
const NXOpen::Mechatronics::CamProfileBuilder::Element & | element | ||
) |
Add element to builder.
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
part | part |
element | element |
void NXOpen::Mechatronics::CamProfileBuilder::ClearElements | ( | ) |
Clear elements .
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXOpen::Mechatronics::CamProfileBuilder::ProfileCyclicType NXOpen::Mechatronics::CamProfileBuilder::CyclicType | ( | ) |
Returns the cyclic type of a cam profile
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
void NXOpen::Mechatronics::CamProfileBuilder::EditElement | ( | int | index, |
NXOpen::NXObject * | part, | ||
const NXOpen::Mechatronics::CamProfileBuilder::Element & | element | ||
) |
Edit the specific element of builder.
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
index | The element index |
part | part |
element | element |
int NXOpen::Mechatronics::CamProfileBuilder::FindElementIndex | ( | const NXOpen::Mechatronics::CamProfileBuilder::Element & | element | ) |
Find the element index.
element | element |
bool NXOpen::Mechatronics::CamProfileBuilder::IsForElecCam | ( | ) |
Returns the indicator that a cam profile is designed for a electronic cam
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXOpen::Expression* NXOpen::Mechatronics::CamProfileBuilder::MasterMaximum | ( | ) |
Returns the maximum master value
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXOpen::Expression* NXOpen::Mechatronics::CamProfileBuilder::MasterMinimum | ( | ) |
Returns the minimum master value
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXOpen::Mechatronics::CamProfileBuilder::MasterValueUnit NXOpen::Mechatronics::CamProfileBuilder::MasterUnit | ( | ) |
Returns the type of master joint
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXString NXOpen::Mechatronics::CamProfileBuilder::Name | ( | ) |
Returns the cam profile name
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
void NXOpen::Mechatronics::CamProfileBuilder::RemoveElementByIndex | ( | int | index | ) |
Remove element by index.
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
index | index |
void NXOpen::Mechatronics::CamProfileBuilder::SetCyclicType | ( | NXOpen::Mechatronics::CamProfileBuilder::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::CamProfileBuilder::SetForElecCam | ( | bool | isForElecCam | ) |
Sets the indicator that a cam 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::CamProfileBuilder::SetMasterUnit | ( | NXOpen::Mechatronics::CamProfileBuilder::MasterValueUnit | masterUnit | ) |
Sets the type of master joint
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
masterUnit | masterunit |
void NXOpen::Mechatronics::CamProfileBuilder::SetName | ( | const NXString & | name | ) |
Sets the cam profile name
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
name | name |
void NXOpen::Mechatronics::CamProfileBuilder::SetName | ( | const char * | name | ) |
Sets the cam profile name
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
name | name |
void NXOpen::Mechatronics::CamProfileBuilder::SetSegmentTable | ( | NXOpen::Mechatronics::CamProfile * | segmentTableObject | ) |
Set segment table.
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
segmentTableObject | segmenttableobject |
void NXOpen::Mechatronics::CamProfileBuilder::SetSlaveUnit | ( | NXOpen::Mechatronics::CamProfileBuilder::SlaveValueUnit | slaveUnit | ) |
Sets the type of slave joint or slave controller
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
slaveUnit | slaveunit |
NXOpen::Expression* NXOpen::Mechatronics::CamProfileBuilder::SlaveMaximum | ( | ) |
Returns the maximum slave value.
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXOpen::Expression* NXOpen::Mechatronics::CamProfileBuilder::SlaveMinimum | ( | ) |
Returns the minimum slave
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXOpen::Mechatronics::CamProfileBuilder::SlaveValueUnit NXOpen::Mechatronics::CamProfileBuilder::SlaveUnit | ( | ) |
Returns the type of slave joint or slave controller
Created in NX9.0.0.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")