NX Open C++ Reference Guide
|
Represents a relationship between NXOpen::Routing::SingleDevice objects. More...
Public Types | |
enum | RelationType { RelationTypeAssociatedEquipment } |
Specifies the nature of the relationship between the related and relating objects. More... | |
Represents a relationship between NXOpen::Routing::SingleDevice objects.
ObjectRelationship is the abstract base class for NXOpen::Routing::InterfaceTerminalRelationshipBase and NXOpen::Routing::DeviceRelationship .
No creator is available in KF because this is an abstract class.
Created in NX4.0.2.
void NXOpen::Routing::DeviceRelationship::AddRelatedSingleDevice | ( | NXOpen::Routing::SingleDevice * | relatedDevice | ) |
Adds a NXOpen::Routing::SingleDevice to the collection of related NXOpen::Routing::SingleDevice objects.
Created in NX4.0.2.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
relatedDevice | The NXOpen::Routing::SingleDevice to add to the set of related objects |
std::vector<NXOpen::Routing::SingleDevice *> NXOpen::Routing::DeviceRelationship::GetRelatedSingleDevices | ( | ) |
Returns the list of related NXOpen::Routing::SingleDevice objects.
The objects in the list are related to the relating NXOpen::Routing::SingleDevice object.
NXOpen::Routing::SingleDevice* NXOpen::Routing::DeviceRelationship::GetRelatingSingleDevice | ( | ) |
Returns the one NXOpen::Routing::SingleDevice to which the other NXOpen::Routing::SingleDevice objects are related.
NXOpen::Routing::DeviceRelationship::RelationType NXOpen::Routing::DeviceRelationship::RelationshipType | ( | ) |
Returns the type of the relationship.
Created in NX4.0.2.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
void NXOpen::Routing::DeviceRelationship::RemoveRelatedSingleDevice | ( | NXOpen::Routing::SingleDevice * | relatedDevice | ) |
Removes a NXOpen::Routing::SingleDevice from the collection of related NXOpen::Routing::SingleDevice objects.
Created in NX4.0.2.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
relatedDevice | The NXOpen::Routing::SingleDevice that is removed from the set of related objects |
void NXOpen::Routing::DeviceRelationship::ReplaceRelatedSingleDevices | ( | const std::vector< NXOpen::Routing::SingleDevice * > & | relatedDevices | ) |
Replaces the collection of related NXOpen::Routing::SingleDevice objects.
Created in NX4.0.2.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
relatedDevices | A set of NXOpen::Routing::SingleDevice objects that replaces the current set of related objects |
void NXOpen::Routing::DeviceRelationship::SetRelatingSingleDevice | ( | NXOpen::Routing::SingleDevice * | relatingDevice | ) |
Sets the one Relating NXOpen::Routing::SingleDevice .
Created in NX4.0.2.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
relatingDevice | The new Relating device |
void NXOpen::Routing::DeviceRelationship::SetRelationshipType | ( | NXOpen::Routing::DeviceRelationship::RelationType | relationshipType | ) |
Sets the type of the relationship.
Created in NX4.0.2.
License requirements : routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")
relationshipType | The new type of the relationship |