NX Open C++ Reference Guide
|
Represents a Mechatronics::ObjectSource builder. More...
Public Types | |
enum | CopyEventTriggerOption { CopyEventTriggerOptionTimeBased, CopyEventTriggerOptionOncePerActivation } |
Trigger Option in copy event. More... | |
Public Member Functions | |
NXOpen::Mechatronics::ObjectSourceBuilder::CopyEventTriggerOption | CopyEventTrigger () |
Returns the event option. | |
NXString | Name () |
Returns the name. | |
NXOpen::SelectNXObjectList * | ObjectToCopy () |
Returns the object select. | |
void | SetCopyEventTrigger (NXOpen::Mechatronics::ObjectSourceBuilder::CopyEventTriggerOption copyEventTrigger) |
Sets the event option. | |
void | SetName (const NXString &name) |
Sets the name. | |
void | SetName (const char *name) |
Sets the name. | |
void | SetObjectsToCopy (const std::vector< NXOpen::NXObject * > &objects) |
Sets the objects to be copied. | |
NXOpen::Expression * | StartOffset () |
Returns the start offset. | |
NXOpen::Expression * | TimeInterval () |
Returns the time interval. | |
![]() | |
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::ObjectSource builder.
To create a new instance of this class, use Mechatronics::ObjectSourceCollection::CreateObjectSourceBuilder
Created in NX7.5.1.
NXOpen::Mechatronics::ObjectSourceBuilder::CopyEventTriggerOption NXOpen::Mechatronics::ObjectSourceBuilder::CopyEventTrigger | ( | ) |
Returns the event option.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXString NXOpen::Mechatronics::ObjectSourceBuilder::Name | ( | ) |
Returns the name.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXOpen::SelectNXObjectList* NXOpen::Mechatronics::ObjectSourceBuilder::ObjectToCopy | ( | ) |
Returns the object select.
This can be a RigidBody or Assemblies::ComponentAssembly .
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
void NXOpen::Mechatronics::ObjectSourceBuilder::SetCopyEventTrigger | ( | NXOpen::Mechatronics::ObjectSourceBuilder::CopyEventTriggerOption | copyEventTrigger | ) |
Sets the event option.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
copyEventTrigger | copyeventtrigger |
void NXOpen::Mechatronics::ObjectSourceBuilder::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::ObjectSourceBuilder::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::ObjectSourceBuilder::SetObjectsToCopy | ( | const std::vector< NXOpen::NXObject * > & | objects | ) |
Sets the objects to be copied.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
objects | Objects to be copied |
NXOpen::Expression* NXOpen::Mechatronics::ObjectSourceBuilder::StartOffset | ( | ) |
Returns the start offset.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXOpen::Expression* NXOpen::Mechatronics::ObjectSourceBuilder::TimeInterval | ( | ) |
Returns the time interval.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")