NX Open C++ Reference Guide
|
This is the builder class to create or edit a Trace object. More...
Public Types | |
enum | Frame { FrameAbsolute, FrameRelative } |
Trace reference frame type. More... | |
Public Member Functions | |
NXOpen::Motion::PackagingTraceBuilder::Frame | FrameType () |
Returns the Motion::PackagingTrace reference frame type defined at NXOpen::Motion::PackagingTraceBuilder::Frame Created in NX4.0.0. | |
std::vector < NXOpen::DisplayableObject * > | GetRelativeLinks () |
Returns Motion::PackagingTrace relative links. | |
void | SetFrameType (NXOpen::Motion::PackagingTraceBuilder::Frame fType) |
Sets the Motion::PackagingTrace reference frame type defined at NXOpen::Motion::PackagingTraceBuilder::Frame Created in NX4.0.0. | |
void | SetRelativeLinks (const std::vector< NXOpen::DisplayableObject * > &links) |
Sets Motion::PackagingTrace relative links. | |
void | SetTargetLayer (int targetLayer) |
Sets the Motion::PackagingTrace target layer Created in NX4.0.0. | |
int | TargetLayer () |
Returns the Motion::PackagingTrace target layer 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 is the builder class to create or edit a Trace object.
To create a new instance of this class, use Motion::PackagingCollection::CreateTraceBuilder
Created in NX4.0.0.
NXOpen::Motion::PackagingTraceBuilder::Frame NXOpen::Motion::PackagingTraceBuilder::FrameType | ( | ) |
Returns the Motion::PackagingTrace reference frame type defined at NXOpen::Motion::PackagingTraceBuilder::Frame
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
std::vector<NXOpen::DisplayableObject *> NXOpen::Motion::PackagingTraceBuilder::GetRelativeLinks | ( | ) |
Returns Motion::PackagingTrace relative links.
Only available when frame type is NXOpen::Motion::PackagingTraceBuilder::FrameRelative .
void NXOpen::Motion::PackagingTraceBuilder::SetFrameType | ( | NXOpen::Motion::PackagingTraceBuilder::Frame | fType | ) |
Sets the Motion::PackagingTrace reference frame type defined at NXOpen::Motion::PackagingTraceBuilder::Frame
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
fType | Trace reference frame type defined in NXOpen::Motion::PackagingTraceBuilder::Frame |
void NXOpen::Motion::PackagingTraceBuilder::SetRelativeLinks | ( | const std::vector< NXOpen::DisplayableObject * > & | links | ) |
Sets Motion::PackagingTrace relative links.
Only used when frame type is NXOpen::Motion::PackagingTraceBuilder::FrameRelative .
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
links | The list pointer |
void NXOpen::Motion::PackagingTraceBuilder::SetTargetLayer | ( | int | targetLayer | ) |
Sets the Motion::PackagingTrace target layer
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")
targetLayer | Target layer |
int NXOpen::Motion::PackagingTraceBuilder::TargetLayer | ( | ) |
Returns the Motion::PackagingTrace target layer
Created in NX4.0.0.
License requirements : mechanisms ("MECHANISMS")