NX Open C++ Reference Guide
|
Represents a collection of Routing::SingleDevice objects that are used in an assembled product. More...
Public Member Functions | |
void | AddSingleDeviceChild (NXOpen::Routing::SingleDevice *device) |
Adds a Routing::SingleDevice object to the list of objects contained in the assembly. | |
NXOpen::Routing::SingleDevice * | GetReferencingDevice () |
Gets the Routing::SingleDevice object that has this AssemblyDefinition object as its definition. | |
std::vector < NXOpen::Routing::SingleDevice * > | GetSingleDeviceChildren () |
Gets the list of Routing::SingleDevice objects contained in the assembly. | |
bool | IsSingleDeviceChild (NXOpen::Routing::SingleDevice *device) |
Determines if a Routing::SingleDevice object is contained in the assembly. | |
void | RemoveSingleDeviceChild (NXOpen::Routing::SingleDevice *device) |
Removes a Routing::SingleDevice from the list of objects contained in the assembly. | |
void | ReplaceSingleDeviceChildren (const std::vector< NXOpen::Routing::SingleDevice * > &replacementChildren) |
Replaces the list of Routing::SingleDevice objects contained in the assembly. |
Represents a collection of Routing::SingleDevice objects that are used in an assembled product.
This class is abstract.
No creator is available in KF because this is an abstract class.
Created in NX4.0.2.
void NXOpen::Routing::AssemblyDefinition::AddSingleDeviceChild | ( | NXOpen::Routing::SingleDevice * | device | ) |
Adds a Routing::SingleDevice object to the list of objects contained in the assembly.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
device | object to add |
Gets the Routing::SingleDevice object that has this AssemblyDefinition object as its definition.
std::vector<NXOpen::Routing::SingleDevice *> NXOpen::Routing::AssemblyDefinition::GetSingleDeviceChildren | ( | ) |
Gets the list of Routing::SingleDevice objects contained in the assembly.
The returned list is empty if the assembly does not contain any objects.
bool NXOpen::Routing::AssemblyDefinition::IsSingleDeviceChild | ( | NXOpen::Routing::SingleDevice * | device | ) |
Determines if a Routing::SingleDevice object is contained in the assembly.
device | object to test |
void NXOpen::Routing::AssemblyDefinition::RemoveSingleDeviceChild | ( | NXOpen::Routing::SingleDevice * | device | ) |
Removes a Routing::SingleDevice from the list of objects contained in the assembly.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
device | object to remove |
void NXOpen::Routing::AssemblyDefinition::ReplaceSingleDeviceChildren | ( | const std::vector< NXOpen::Routing::SingleDevice * > & | replacementChildren | ) |
Replaces the list of Routing::SingleDevice objects contained in the assembly.
Using NULL for replacementChildren is not allowed.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical") OR routing_mechanical ("Routing Mechanical")
replacementChildren | Routing::SingleDevice children to use in replacing the children of this Assembly Definition. |