NX Open C++ Reference Guide
|
This the builder class to create or edit an Interference object. More...
Public Types | |
enum | Action { ActionHighlight, ActionCreateSolids, ActionShowIntersectionCurve } |
Interference action type. More... | |
enum | Frame { FrameAbsolute, FrameFirstSet, FrameSecondSet, FrameBothSets, FrameSelected } |
Interference solid reference frame type. More... | |
enum | Mode { ModeFaceted, ModePreciseSolid } |
Interference calculation mode type. More... | |
Public Member Functions | |
NXOpen::Motion::PackagingInterferenceBuilder::Action | ActionType () |
Returns the Motion::PackagingInterference action type defined at Motion::PackagingInterferenceBuilder::Action Created in NX4.0.0. | |
double | Clearance () |
Returns the Motion::PackagingInterference clearance value | |
NXOpen::Expression * | ClearanceExpression () |
Returns the clearance expression value Created in NX8.5.0. | |
NXOpen::Motion::PackagingInterferenceBuilder::Frame | FrameType () |
Returns the Motion::PackagingInterference frame type defined at Motion::PackagingInterferenceBuilder::Frame Created in NX4.0.0. | |
std::vector < NXOpen::DisplayableObject * > | GetList2 () |
Gets the geometry list 2 of Motion::PackagingInterference object. | |
std::vector < NXOpen::DisplayableObject * > | GetRelativeLinks () |
Returns Motion::PackagingInterference user selected relative links. | |
NXOpen::Motion::PackagingInterferenceBuilder::Mode | ModeType () |
Returns the Motion::PackagingInterference mode type defined at Motion::PackagingInterferenceBuilder::Mode Created in NX4.0.0. | |
void | SetActionType (NXOpen::Motion::PackagingInterferenceBuilder::Action aType) |
Sets the Motion::PackagingInterference action type defined at Motion::PackagingInterferenceBuilder::Action Created in NX4.0.0. | |
void | SetClearance (double clearance) |
Sets the Motion::PackagingInterference clearance value | |
void | SetFrameType (NXOpen::Motion::PackagingInterferenceBuilder::Frame fType) |
Sets the Motion::PackagingInterference frame type defined at Motion::PackagingInterferenceBuilder::Frame Created in NX4.0.0. | |
void | SetList2 (const std::vector< NXOpen::DisplayableObject * > &list2) |
Sets the geometry list 2 of Motion::PackagingInterference object. | |
void | SetModeType (NXOpen::Motion::PackagingInterferenceBuilder::Mode mType) |
Sets the Motion::PackagingInterference mode type defined at Motion::PackagingInterferenceBuilder::Mode Created in NX4.0.0. | |
void | SetRelativeLinks (const std::vector< NXOpen::DisplayableObject * > &links) |
Sets Motion::PackagingInterference user selected relative links. | |
void | SetStopOnEvent (bool stopOnEvent) |
Sets the Stop_On_Event flag of Motion::PackagingInterference object Created in NX4.0.0. | |
bool | StopOnEvent () |
Returns the Stop_On_Event flag of Motion::PackagingInterference object Created in NX4.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 the builder class to create or edit an Interference object.
To create a new instance of this class, use Motion::PackagingCollection::CreateInterferenceBuilder
Created in NX4.0.0.
Interference solid reference frame type.
Only used for action type of NXOpen::Motion::PackagingInterferenceBuilder::ActionCreateSolids .
Interference calculation mode type.
ModeFaceted |
Interference calculated by Faceted method. Faceted is only allowed for action type of NXOpen::Motion::PackagingInterferenceBuilder::ActionCreateSolids . |
ModePreciseSolid |
Interference calculated by Precise Solid method. |
NXOpen::Motion::PackagingInterferenceBuilder::Action NXOpen::Motion::PackagingInterferenceBuilder::ActionType | ( | ) |
Returns the Motion::PackagingInterference action type defined at Motion::PackagingInterferenceBuilder::Action
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
double NXOpen::Motion::PackagingInterferenceBuilder::Clearance | ( | ) |
Returns the Motion::PackagingInterference clearance value
Obtion the exression using Motion::PackagingInterferenceBuilder::ClearanceExpression to query or edit it.
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
NXOpen::Expression* NXOpen::Motion::PackagingInterferenceBuilder::ClearanceExpression | ( | ) |
Returns the clearance expression value
Created in NX8.5.0.
License requirements : mechanisms ("MECHANISMS")
NXOpen::Motion::PackagingInterferenceBuilder::Frame NXOpen::Motion::PackagingInterferenceBuilder::FrameType | ( | ) |
Returns the Motion::PackagingInterference frame type defined at Motion::PackagingInterferenceBuilder::Frame
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
std::vector<NXOpen::DisplayableObject *> NXOpen::Motion::PackagingInterferenceBuilder::GetList2 | ( | ) |
Gets the geometry list 2 of Motion::PackagingInterference object.
Interference can have one or two lists defined. If the user defines two lists, then interference checks 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")
std::vector<NXOpen::DisplayableObject *> NXOpen::Motion::PackagingInterferenceBuilder::GetRelativeLinks | ( | ) |
Returns Motion::PackagingInterference user selected relative links.
Only available when frame type is @link NXOpen::Motion::PackagingInterferenceBuilder::FrameSelected NXOpen::Motion::PackagingInterferenceBuilder::FrameSelected @endlink . @return
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
NXOpen::Motion::PackagingInterferenceBuilder::Mode NXOpen::Motion::PackagingInterferenceBuilder::ModeType | ( | ) |
Returns the Motion::PackagingInterference mode type defined at Motion::PackagingInterferenceBuilder::Mode
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
void NXOpen::Motion::PackagingInterferenceBuilder::SetActionType | ( | NXOpen::Motion::PackagingInterferenceBuilder::Action | aType | ) |
Sets the Motion::PackagingInterference action type defined at Motion::PackagingInterferenceBuilder::Action
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
aType | a type |
void NXOpen::Motion::PackagingInterferenceBuilder::SetClearance | ( | double | clearance | ) |
Sets the Motion::PackagingInterference clearance value
Obtion the exression using Motion::PackagingInterferenceBuilder::ClearanceExpression to query or edit it.
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
clearance | clearance |
void NXOpen::Motion::PackagingInterferenceBuilder::SetFrameType | ( | NXOpen::Motion::PackagingInterferenceBuilder::Frame | fType | ) |
Sets the Motion::PackagingInterference frame type defined at Motion::PackagingInterferenceBuilder::Frame
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
fType | f type |
void NXOpen::Motion::PackagingInterferenceBuilder::SetList2 | ( | const std::vector< NXOpen::DisplayableObject * > & | list2 | ) |
Sets the geometry list 2 of Motion::PackagingInterference object.
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
list2 | list2 |
void NXOpen::Motion::PackagingInterferenceBuilder::SetModeType | ( | NXOpen::Motion::PackagingInterferenceBuilder::Mode | mType | ) |
Sets the Motion::PackagingInterference mode type defined at Motion::PackagingInterferenceBuilder::Mode
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
mType | m type |
void NXOpen::Motion::PackagingInterferenceBuilder::SetRelativeLinks | ( | const std::vector< NXOpen::DisplayableObject * > & | links | ) |
Sets Motion::PackagingInterference user selected relative links.
Only used when frame type is @link NXOpen::Motion::PackagingInterferenceBuilder::FrameSelected NXOpen::Motion::PackagingInterferenceBuilder::FrameSelected @endlink .
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
links | links |
void NXOpen::Motion::PackagingInterferenceBuilder::SetStopOnEvent | ( | bool | stopOnEvent | ) |
Sets the Stop_On_Event flag of Motion::PackagingInterference object
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
stopOnEvent | stop on event |
bool NXOpen::Motion::PackagingInterferenceBuilder::StopOnEvent | ( | ) |
Returns the Stop_On_Event flag of Motion::PackagingInterference object
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")