NX Open C++ Reference Guide
|
This is the builder class to create or edit a Measure object. More...
Classes | |
struct | GeometryData |
Represents geometry data. More... | |
Public Types | |
enum | MeasureCondition { MeasureConditionLessThan, MeasureConditionGreaterThan, MeasureConditionEqualTo } |
Measure condition. More... | |
enum | MeasureType { MeasureTypeMinimumDistance, MeasureTypeAngle } |
Measure type. More... | |
Public Member Functions | |
NXOpen::Motion::PackagingMeasureBuilder::MeasureCondition | Condition () |
Returns the measure condition defined at Motion::PackagingMeasureBuilder::MeasureCondition Created in NX4.0.0. | |
std::vector < NXOpen::DisplayableObject * > | GetList2 () |
Returns the geometry list 2 of Motion::PackagingMeasure object. | |
void | GetSourceList (std::vector< NXOpen::Motion::PackagingMeasureBuilder::GeometryData > &sourceGeometryData) |
Gets the source geometry data. | |
void | GetTargetList (std::vector< NXOpen::Motion::PackagingMeasureBuilder::GeometryData > &targetGeometryData) |
Gets the target geometry data. | |
NXOpen::Motion::PackagingMeasureBuilder::MeasureType | MsType () |
Returns the Measure type defined at Motion::PackagingMeasureBuilder::MeasureType Created in NX4.0.0. | |
void | SetCondition (NXOpen::Motion::PackagingMeasureBuilder::MeasureCondition condition) |
Sets the measure condition defined at Motion::PackagingMeasureBuilder::MeasureCondition Created in NX4.0.0. | |
void | SetList2 (const std::vector< NXOpen::DisplayableObject * > &list2) |
Sets the geometry list 2. | |
void | SetMsType (NXOpen::Motion::PackagingMeasureBuilder::MeasureType mType) |
Sets the Measure type defined at Motion::PackagingMeasureBuilder::MeasureType Created in NX4.0.0. | |
void | SetSourceList (const std::vector< NXOpen::Motion::PackagingMeasureBuilder::GeometryData > &sourceGeometryData) |
Sets the source geometry data. | |
void | SetStopOnEvent (bool stopOnEvent) |
Sets the Stop_On_Event flag of Motion::PackagingMeasure object Created in NX4.0.0. | |
void | SetTargetList (const std::vector< NXOpen::Motion::PackagingMeasureBuilder::GeometryData > &targetGeometryData) |
Sets the target geometry data. | |
void | SetThreshold (double threshold) |
Sets the Measure threshold value | |
void | SetTolerance (double tolerance) |
Sets the Measure tolerance value | |
bool | StopOnEvent () |
Returns the Stop_On_Event flag of Motion::PackagingMeasure object Created in NX4.0.0. | |
double | Threshold () |
Returns the Measure threshold value | |
NXOpen::Expression * | ThresholdAngleExpression () |
Returns the Measure angular threshold expression value Created in NX8.0.0. | |
NXOpen::Expression * | ThresholdExpression () |
Returns the Measure threshold expression value Created in NX8.0.0. | |
double | Tolerance () |
Returns the Measure tolerance value | |
NXOpen::Expression * | ToleranceAngleExpression () |
Returns the Measure angular tolerance expression value Created in NX8.0.0. | |
NXOpen::Expression * | ToleranceExpression () |
Returns the Measure tolerance expression value Created in NX8.0.0. | |
![]() | |
bool | Enable () |
Returns the enable flag of Packaging object. | |
std::vector < NXOpen::DisplayableObject * > | GetList1 () |
Returns geometry list 1 of Packaging object. | |
NXString | Name () |
Returns the name of Packaging object. | |
void | SetEnable (bool enable) |
Sets the enable flag of Packaging object. | |
void | SetList1 (const std::vector< NXOpen::DisplayableObject * > &list1) |
Sets geometry list 1. | |
void | SetName (const NXString &name) |
Sets the name of Packaging object. | |
void | SetName (const char *name) |
Sets the name of Packaging object. | |
![]() | |
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. | |
This is the builder class to create or edit a Measure object.
To create a new instance of this class, use Motion::PackagingCollection::CreateMeasureBuilder
Created in NX4.0.0.
Measure condition.
NXOpen::Motion::PackagingMeasureBuilder::MeasureCondition NXOpen::Motion::PackagingMeasureBuilder::Condition | ( | ) |
Returns the measure condition defined at Motion::PackagingMeasureBuilder::MeasureCondition
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
std::vector<NXOpen::DisplayableObject *> NXOpen::Motion::PackagingMeasureBuilder::GetList2 | ( | ) |
Returns the geometry list 2 of Motion::PackagingMeasure object.
Measure can have one or two lists defined. If the user defines two lists, then measurements will be done between each object in list 1 against each object in list 2. @return
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
void NXOpen::Motion::PackagingMeasureBuilder::GetSourceList | ( | std::vector< NXOpen::Motion::PackagingMeasureBuilder::GeometryData > & | sourceGeometryData | ) |
Gets the source geometry data.
Created in NX7.5.0.
License requirements : mechanisms ("MECHANISMS")
sourceGeometryData | Source geometry data |
void NXOpen::Motion::PackagingMeasureBuilder::GetTargetList | ( | std::vector< NXOpen::Motion::PackagingMeasureBuilder::GeometryData > & | targetGeometryData | ) |
Gets the target geometry data.
Created in NX7.5.0.
License requirements : mechanisms ("MECHANISMS")
targetGeometryData | Target geometry data |
NXOpen::Motion::PackagingMeasureBuilder::MeasureType NXOpen::Motion::PackagingMeasureBuilder::MsType | ( | ) |
Returns the Measure type defined at Motion::PackagingMeasureBuilder::MeasureType
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
void NXOpen::Motion::PackagingMeasureBuilder::SetCondition | ( | NXOpen::Motion::PackagingMeasureBuilder::MeasureCondition | condition | ) |
Sets the measure condition defined at Motion::PackagingMeasureBuilder::MeasureCondition
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
condition | condition |
void NXOpen::Motion::PackagingMeasureBuilder::SetList2 | ( | const std::vector< NXOpen::DisplayableObject * > & | list2 | ) |
Sets the geometry list 2.
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
list2 | list2 |
void NXOpen::Motion::PackagingMeasureBuilder::SetMsType | ( | NXOpen::Motion::PackagingMeasureBuilder::MeasureType | mType | ) |
Sets the Measure type defined at Motion::PackagingMeasureBuilder::MeasureType
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
mType | m type |
void NXOpen::Motion::PackagingMeasureBuilder::SetSourceList | ( | const std::vector< NXOpen::Motion::PackagingMeasureBuilder::GeometryData > & | sourceGeometryData | ) |
Sets the source geometry data.
Created in NX7.5.0.
License requirements : mechanisms ("MECHANISMS")
sourceGeometryData | Source geometry data |
void NXOpen::Motion::PackagingMeasureBuilder::SetStopOnEvent | ( | bool | stopOnEvent | ) |
Sets the Stop_On_Event flag of Motion::PackagingMeasure object
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
stopOnEvent | stop on event |
void NXOpen::Motion::PackagingMeasureBuilder::SetTargetList | ( | const std::vector< NXOpen::Motion::PackagingMeasureBuilder::GeometryData > & | targetGeometryData | ) |
Sets the target geometry data.
Created in NX7.5.0.
License requirements : mechanisms ("MECHANISMS")
targetGeometryData | Target geometry data |
void NXOpen::Motion::PackagingMeasureBuilder::SetThreshold | ( | double | threshold | ) |
Sets the Measure threshold value
Obtain the expression using Motion::PackagingMeasureBuilder::ThresholdExpression or Motion::PackagingMeasureBuilder::ThresholdAngleExpression to query or edit it.
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
threshold | threshold |
void NXOpen::Motion::PackagingMeasureBuilder::SetTolerance | ( | double | tolerance | ) |
Sets the Measure tolerance value
Obtain the expression using Motion::PackagingMeasureBuilder::ToleranceExpression or Motion::PackagingMeasureBuilder::ToleranceAngleExpression to query or edit it.
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
tolerance | tolerance |
bool NXOpen::Motion::PackagingMeasureBuilder::StopOnEvent | ( | ) |
Returns the Stop_On_Event flag of Motion::PackagingMeasure object
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
double NXOpen::Motion::PackagingMeasureBuilder::Threshold | ( | ) |
Returns the Measure threshold value
Obtain the expression using Motion::PackagingMeasureBuilder::ThresholdExpression or Motion::PackagingMeasureBuilder::ThresholdAngleExpression to query or edit it.
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
NXOpen::Expression* NXOpen::Motion::PackagingMeasureBuilder::ThresholdAngleExpression | ( | ) |
Returns the Measure angular threshold expression value
Created in NX8.0.0.
License requirements : mechanisms ("MECHANISMS")
NXOpen::Expression* NXOpen::Motion::PackagingMeasureBuilder::ThresholdExpression | ( | ) |
Returns the Measure threshold expression value
Created in NX8.0.0.
License requirements : mechanisms ("MECHANISMS")
double NXOpen::Motion::PackagingMeasureBuilder::Tolerance | ( | ) |
Returns the Measure tolerance value
Obtain the expression using Motion::PackagingMeasureBuilder::ToleranceExpression or Motion::PackagingMeasureBuilder::ToleranceAngleExpression to query or edit it.
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
NXOpen::Expression* NXOpen::Motion::PackagingMeasureBuilder::ToleranceAngleExpression | ( | ) |
Returns the Measure angular tolerance expression value
Created in NX8.0.0.
License requirements : mechanisms ("MECHANISMS")
NXOpen::Expression* NXOpen::Motion::PackagingMeasureBuilder::ToleranceExpression | ( | ) |
Returns the Measure tolerance expression value
Created in NX8.0.0.
License requirements : mechanisms ("MECHANISMS")