NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Properties | List of all members
NXOpen.Routing.DeviceRelationship Class Reference

Represents a relationship between NXOpen.Routing.SingleDevice objects. More...

Inheritance diagram for NXOpen.Routing.DeviceRelationship:
NXOpen.Routing.ObjectRelationship NXOpen.Routing.RootObject NXOpen.NXObject NXOpen.TaggedObject NXOpen.INXObject NXOpen.Utilities.NXRemotableObject IMessageSink NXOpen.Routing.Electrical.ElectricalDeviceRelationship

Public Types

enum  RelationType { AssociatedEquipment }
 Specifies the nature of the relationship between the related and relating objects. More...
 

Public Member Functions

unsafe void AddRelatedSingleDevice (NXOpen.Routing.SingleDevice relatedDevice)
 Adds a NXOpen.Routing.SingleDevice to the collection of related NXOpen.Routing.SingleDevice objects. More...
 
unsafe
NXOpen.Routing.SingleDevice[] 
GetRelatedSingleDevices ()
 Returns the list of related NXOpen.Routing.SingleDevice objects. More...
 
unsafe NXOpen.Routing.SingleDevice GetRelatingSingleDevice ()
 Returns the one NXOpen.Routing.SingleDevice to which the other NXOpen.Routing.SingleDevice objects are related. More...
 
unsafe void RemoveRelatedSingleDevice (NXOpen.Routing.SingleDevice relatedDevice)
 Removes a NXOpen.Routing.SingleDevice from the collection of related NXOpen.Routing.SingleDevice objects. More...
 
unsafe void ReplaceRelatedSingleDevices (NXOpen.Routing.SingleDevice[] relatedDevices)
 Replaces the collection of related NXOpen.Routing.SingleDevice objects. More...
 
unsafe void SetRelatingSingleDevice (NXOpen.Routing.SingleDevice relatingDevice)
 Sets the one Relating NXOpen.Routing.SingleDevice . More...
 

Properties

unsafe
NXOpen.Routing.DeviceRelationship.RelationType 
RelationshipType [get, set]
 Returns or sets the type of the relationship. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 

Detailed Description

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

Member Enumeration Documentation

Specifies the nature of the relationship between the related and relating objects.

Enumerator
AssociatedEquipment 

the related single devices are attached to the relating single device

Member Function Documentation

unsafe void NXOpen.Routing.DeviceRelationship.AddRelatedSingleDevice ( NXOpen.Routing.SingleDevice  relatedDevice)
inline

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")

Parameters
relatedDeviceThe NXOpen.Routing.SingleDevice to add to the set of related objects
unsafe NXOpen.Routing.SingleDevice [] NXOpen.Routing.DeviceRelationship.GetRelatedSingleDevices ( )
inline

Returns the list of related NXOpen.Routing.SingleDevice objects.

The objects in the list are related to the relating NXOpen.Routing.SingleDevice object.

Created in NX4.0.2

License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Returns
Set of NXOpen.Routing.SingleDevice objects that are related to the Relating SingleDevice
unsafe NXOpen.Routing.SingleDevice NXOpen.Routing.DeviceRelationship.GetRelatingSingleDevice ( )
inline

Returns the one NXOpen.Routing.SingleDevice to which the other NXOpen.Routing.SingleDevice objects are related.

Created in NX4.0.2

License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Returns
unsafe void NXOpen.Routing.DeviceRelationship.RemoveRelatedSingleDevice ( NXOpen.Routing.SingleDevice  relatedDevice)
inline

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")

Parameters
relatedDeviceThe NXOpen.Routing.SingleDevice that is removed from the set of related objects
unsafe void NXOpen.Routing.DeviceRelationship.ReplaceRelatedSingleDevices ( NXOpen.Routing.SingleDevice[]  relatedDevices)
inline

Replaces the collection of related NXOpen.Routing.SingleDevice objects.

Created in NX4.0.2

License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
relatedDevicesA set of NXOpen.Routing.SingleDevice objects that replaces the current set of related objects
unsafe void NXOpen.Routing.DeviceRelationship.SetRelatingSingleDevice ( NXOpen.Routing.SingleDevice  relatingDevice)
inline

Sets the one Relating NXOpen.Routing.SingleDevice .

Created in NX4.0.2

License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
relatingDeviceThe new Relating device

Property Documentation

unsafe NXOpen.Routing.DeviceRelationship.RelationType NXOpen.Routing.DeviceRelationship.RelationshipType
getset

Returns or sets the type of the relationship.

Created in NX4.0.2

License requirements to get this property: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

License requirements to set this property: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")


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