NXOpen .NET Reference  12.0.0
Public Member Functions | Properties | List of all members
NXOpen.Diagramming.PortBuilder Class Reference

Represents a PortBuilder. More...

Inheritance diagram for NXOpen.Diagramming.PortBuilder:
NXOpen.Diagramming.SheetElementBuilder NXOpen.Diagramming.BaseObjectBuilder NXOpen.Builder NXOpen.GeometricUtilities.IComponentBuilder

Public Member Functions

unsafe void GetAllowedParentSides (out bool isAllowedLeftSide, out bool isAllowedRightSide, out bool isAllowedUpSide, out bool isAllowedDownSide)
 Get allowed parent sides. More...
 
unsafe bool CanAnotherConnectionBeAdded ()
 Get whether another connection can be added or not. More...
 
unsafe bool IsNumberOfConnectionInfinite ()
 Get if the number of connections to reference is infinite. More...
 
unsafe
NXOpen.Diagramming.ConnectableElement 
GetOwningConnectableElement ()
 Get the owner connectable element. More...
 
unsafe
NXOpen.Diagramming.Connection[] 
GetConnections ()
 Get associated connections. More...
 
- Public Member Functions inherited from NXOpen.Diagramming.SheetElementBuilder
unsafe void GetMinNodeSize (out double[] sizeValues)
 Gets the minimum node size values More...
 
unsafe void SetMinNodeSize (double[] sizeValues)
 Sets the minimum node size values More...
 
unsafe void GetAllowedTransformations (out bool isAllowedTranslation, out bool isAllowedRotation, out bool isAllowedScale, out bool isAllowedShear)
 Get the allowed transformations of the sheet element. More...
 
unsafe void SetOwningSheet (NXOpen.Diagramming.Sheet owningSheet)
 Set the owning sheet when the sheet element is created. More...
 

Properties

unsafe NXOpen.Diagramming.Direction Direction [get, set]
 Returns or sets the direction of the port. More...
 
unsafe int NumberAllowedConnections [get, set]
 Returns or sets the maximum number of allowed connections the port may reference. More...
 
unsafe bool Pinned [get, set]
 Returns or sets the flag that indicates the port is pinned. More...
 
unsafe NXOpen.Diagramming.Port Proxy [get, set]
 Returns or sets the proxy port for the port inside the super node. More...
 
- Properties inherited from NXOpen.Diagramming.SheetElementBuilder
unsafe double Height [get, set]
 Returns or sets the height. More...
 
unsafe
NXOpen.Diagramming.DiagrammingSizingpolicy 
HeightPolicy [get, set]
 Returns or sets the height policy. More...
 
unsafe bool Internal [get]
 Returns the flag that indicates if the sheet element is internal. More...
 
unsafe
NXOpen.Diagramming.Annotation 
Label [get]
 Returns the label of this sheet element. More...
 
unsafe string LabelName [get, set]
 Returns or sets the label name of this sheet element. More...
 
unsafe
NXOpen.Diagramming.LocationBuilder 
Location [get]
 Returns the location of the sheet element relative to another sheet element. More...
 
unsafe
NXOpen.Diagramming.DiagrammingLocationstyle 
LocationStyle [get, set]
 Returns or sets the location style. More...
 
unsafe bool MirrorX [get, set]
 Returns or sets the sheet element to Mirror along the X axis. More...
 
unsafe bool MirrorY [get, set]
 Returns or sets the sheet element to Mirror along the Y axis. More...
 
unsafe
NXOpen.Diagramming.SheetElement 
Owner [get, set]
 Returns or sets the owning sheet element. More...
 
unsafe NXOpen.Diagramming.Sheet OwningSheet [get]
 Returns the owning sheet. More...
 
unsafe
NXOpen.Diagramming.SheetElementBuilder.ResizeOptionType 
ResizeOption [get, set]
 Returns or sets the resize option of the sheet element More...
 
unsafe double Rotation [get, set]
 Returns or sets the rotation angle that is counter clockwise and relative to the owner. More...
 
unsafe
NXOpen.Diagramming.SheetElement 
SourceElement [get]
 Returns the source element that records which sheet element it is a copy of. More...
 
unsafe bool UpToDate [get]
 Returns the flag that indicates if the sheet element is up to date. More...
 
unsafe bool Visible [get]
 Returns the flag that indicates if the sheet element is visible. More...
 
unsafe double Width [get, set]
 Returns or sets the width. More...
 
unsafe
NXOpen.Diagramming.DiagrammingSizingpolicy 
WidthPolicy [get, set]
 Returns or sets the width policy. More...
 
unsafe double X [get, set]
 Returns or sets the absolute x coordinate. More...
 
unsafe double Y [get, set]
 Returns or sets the absolute y coordinate. More...
 
unsafe int ZDepth [get, set]
 Returns or sets the Z depth. More...
 

Additional Inherited Members

- Public Types inherited from NXOpen.Diagramming.SheetElementBuilder
enum  ResizeOptionType {
  AnyDirection, OnAnchor, SameRatio, SameRationOnCorner,
  SameRatioOnEdge
}
 Represents the resize option for a NXOpen.Diagramming.SheetElementBuilder . More...
 

Detailed Description

Represents a PortBuilder.

To create a new instance of this class, use NXOpen.Diagramming.PortCollection.CreatePortBuilder

Created in NX10.0.0

Member Function Documentation

unsafe bool NXOpen.Diagramming.PortBuilder.CanAnotherConnectionBeAdded ( )

Get whether another connection can be added or not.

Created in NX10.0.0

License requirements: None.

Returns
unsafe void NXOpen.Diagramming.PortBuilder.GetAllowedParentSides ( out bool  isAllowedLeftSide,
out bool  isAllowedRightSide,
out bool  isAllowedUpSide,
out bool  isAllowedDownSide 
)

Get allowed parent sides.

Created in NX10.0.0

License requirements: None.

Parameters
isAllowedLeftSide
isAllowedRightSide
isAllowedUpSide
isAllowedDownSide
unsafe NXOpen.Diagramming.Connection [] NXOpen.Diagramming.PortBuilder.GetConnections ( )

Get associated connections.

Created in NX10.0.0

License requirements: None.

Returns
unsafe NXOpen.Diagramming.ConnectableElement NXOpen.Diagramming.PortBuilder.GetOwningConnectableElement ( )

Get the owner connectable element.

Created in NX10.0.0

License requirements: None.

Returns
unsafe bool NXOpen.Diagramming.PortBuilder.IsNumberOfConnectionInfinite ( )

Get if the number of connections to reference is infinite.

If true it is infinite.

Created in NX10.0.0

License requirements: None.

Returns

Property Documentation

unsafe NXOpen.Diagramming.Direction NXOpen.Diagramming.PortBuilder.Direction
getset

Returns or sets the direction of the port.

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe int NXOpen.Diagramming.PortBuilder.NumberAllowedConnections
getset

Returns or sets the maximum number of allowed connections the port may reference.

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.Diagramming.PortBuilder.Pinned
getset

Returns or sets the flag that indicates the port is pinned.

If true the port is pinned and cannot be moved.

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Diagramming.Port NXOpen.Diagramming.PortBuilder.Proxy
getset

Returns or sets the proxy port for the port inside the super node.

Created in NX10.0.0

License requirements to get this property: None.

License requirements to set this property: None.


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