NX Open C++ Reference Guide
List of all members
NXOpen::Routing::Electrical::ElectricalDeviceRelationship Class Reference

Represents a relationship between Routing Electrical devices. More...

Inheritance diagram for NXOpen::Routing::Electrical::ElectricalDeviceRelationship:
NXOpen::Routing::DeviceRelationship NXOpen::Routing::ObjectRelationship NXOpen::Routing::RootObject NXOpen::NXObject NXOpen::TaggedObject NXOpen::INXObject

Additional Inherited Members

- Public Types inherited from NXOpen::Routing::DeviceRelationship
enum  RelationType { RelationTypeAssociatedEquipment }
 Specifies the nature of the relationship between the related and relating objects. More...
 
- Public Member Functions inherited from NXOpen::Routing::DeviceRelationship
void AddRelatedSingleDevice (NXOpen::Routing::SingleDevice *relatedDevice)
 Adds a NXOpen::Routing::SingleDevice to the collection of related NXOpen::Routing::SingleDevice objects. More...
 
std::vector
< NXOpen::Routing::SingleDevice * > 
GetRelatedSingleDevices ()
 Returns the list of related NXOpen::Routing::SingleDevice objects. More...
 
NXOpen::Routing::SingleDeviceGetRelatingSingleDevice ()
 Returns the one NXOpen::Routing::SingleDevice to which the other NXOpen::Routing::SingleDevice objects are related. More...
 
NXOpen::Routing::DeviceRelationship::RelationType RelationshipType ()
 Returns the type of the relationship. More...
 
void RemoveRelatedSingleDevice (NXOpen::Routing::SingleDevice *relatedDevice)
 Removes a NXOpen::Routing::SingleDevice from the collection of related NXOpen::Routing::SingleDevice objects. More...
 
void ReplaceRelatedSingleDevices (const std::vector< NXOpen::Routing::SingleDevice * > &relatedDevices)
 Replaces the collection of related NXOpen::Routing::SingleDevice objects. More...
 
void SetRelatingSingleDevice (NXOpen::Routing::SingleDevice *relatingDevice)
 Sets the one Relating NXOpen::Routing::SingleDevice . More...
 
void SetRelationshipType (NXOpen::Routing::DeviceRelationship::RelationType relationshipType)
 Sets the type of the relationship. More...
 

Detailed Description

Represents a relationship between Routing Electrical devices.


Use this class to associate electrical connectors to electrical equipment outside of a harness.

(example)
Use an ElectricalDeviceRelationship to represent connectors C1 and C2 mounted on a piece of equipment, D1.
The Relating object is D1 and the Related objects are C1 and C2.


To create a new instance of this class, use NXOpen::Routing::Electrical::ElectricalDeviceRelationshipCollection::CreateElectricalDeviceRelationship

Created in NX4.0.2.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.