NX Open C++ Reference Guide
|
Represents a Mechatronics::ObjectSink builder. More...
Public Types | |
enum | DeleteSourceType { DeleteSourceTypeAnycopiedobjects, DeleteSourceTypeSelectedsources } |
the delete option. More... | |
Public Member Functions | |
NXOpen::Mechatronics::SelectCollisionSensorList * | CollisionSensor () |
Returns the object select. | |
NXOpen::Mechatronics::ObjectSinkBuilder::DeleteSourceType | DeleteSource () |
Returns the option to delete source. | |
NXString | Name () |
Returns the name. | |
void | SetCollisionSensor (const std::vector< NXOpen::Mechatronics::CollisionSensor * > &objects) |
Sets the collision sensor object. | |
void | SetDeleteSource (NXOpen::Mechatronics::ObjectSinkBuilder::DeleteSourceType deleteSource) |
Sets the option to delete source. | |
void | SetName (const NXString &name) |
Sets the name. | |
void | SetName (const char *name) |
Sets the name. | |
void | SetSource (const std::vector< NXOpen::NXObject * > &objects) |
Sets the source. | |
NXOpen::SelectNXObjectList * | Source () |
Returns the source select. | |
![]() | |
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::ObjectSink builder.
To create a new instance of this class, use Mechatronics::ObjectSinkCollection::CreateObjectSinkBuilder
Created in NX7.5.1.
NXOpen::Mechatronics::SelectCollisionSensorList* NXOpen::Mechatronics::ObjectSinkBuilder::CollisionSensor | ( | ) |
Returns the object select.
This can be a CollisionSensor .
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXOpen::Mechatronics::ObjectSinkBuilder::DeleteSourceType NXOpen::Mechatronics::ObjectSinkBuilder::DeleteSource | ( | ) |
Returns the option to delete source.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXString NXOpen::Mechatronics::ObjectSinkBuilder::Name | ( | ) |
Returns the name.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
void NXOpen::Mechatronics::ObjectSinkBuilder::SetCollisionSensor | ( | const std::vector< NXOpen::Mechatronics::CollisionSensor * > & | objects | ) |
Sets the collision sensor object.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
objects | Collision Sensor objects |
void NXOpen::Mechatronics::ObjectSinkBuilder::SetDeleteSource | ( | NXOpen::Mechatronics::ObjectSinkBuilder::DeleteSourceType | deleteSource | ) |
Sets the option to delete source.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
deleteSource | deletesource |
void NXOpen::Mechatronics::ObjectSinkBuilder::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::ObjectSinkBuilder::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::ObjectSinkBuilder::SetSource | ( | const std::vector< NXOpen::NXObject * > & | objects | ) |
Sets the source.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
objects | Source objects |
NXOpen::SelectNXObjectList* NXOpen::Mechatronics::ObjectSinkBuilder::Source | ( | ) |
Returns the source select.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")