Class PortBuilder
Inheritance
System.Object
System.MarshalByRefObject
PortBuilder
Inherited Members
System.MarshalByRefObject.CreateObjRef(System.Type)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NXOpen.Diagramming
Assembly: NXOpen.dll
Syntax
public class PortBuilder : SheetElementBuilder, IMessageSink, IComponentBuilder
Constructors
PortBuilder()
Declaration
protected PortBuilder()
Properties
Direction
Declaration
public Direction Direction { get; set; }
Property Value
Type | Description |
---|---|
Direction |
NumberAllowedConnections
Declaration
public int NumberAllowedConnections { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Pinned
Declaration
public bool Pinned { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Proxy
Declaration
public Port Proxy { get; set; }
Property Value
Type | Description |
---|---|
Port |
Methods
CanAnotherConnectionBeAdded()
Declaration
public bool CanAnotherConnectionBeAdded()
Returns
Type | Description |
---|---|
System.Boolean |
GetAllowedParentSides(out Boolean, out Boolean, out Boolean, out Boolean)
Declaration
public void GetAllowedParentSides(out bool isAllowedLeftSide, out bool isAllowedRightSide, out bool isAllowedUpSide, out bool isAllowedDownSide)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isAllowedLeftSide | |
System.Boolean | isAllowedRightSide | |
System.Boolean | isAllowedUpSide | |
System.Boolean | isAllowedDownSide |
GetConnections()
Declaration
public Connection[] GetConnections()
Returns
Type | Description |
---|---|
Connection[] |
GetOwningConnectableElement()
Declaration
public ConnectableElement GetOwningConnectableElement()
Returns
Type | Description |
---|---|
ConnectableElement |
IsNumberOfConnectionInfinite()
Declaration
public bool IsNumberOfConnectionInfinite()
Returns
Type | Description |
---|---|
System.Boolean |
Implements
System.Runtime.Remoting.Messaging.IMessageSink