Symbol2DBuilder Class

class NXOpen.DiagrammingLibraryAuthor.Symbol2DBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents a Symbol2DBuilder.

New in version NX11.0.1.

Properties

Property Description
AnchorPoint Returns or sets the anchor point
DraftingSymbol Returns the 2D symbol sub-builder.
EnableScale Returns or sets the scaling
Image Returns or sets the image capture builder
IsInline Returns or sets the inline
PortData Returns the port data sub-builder.
Tag Returns the Tag for this object.
TagLocation Returns or sets the tag location

Methods

Method Description
CreateFromSymbol Creates a new symbol from another symbol
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Property Detail

AnchorPoint

Symbol2DBuilder.AnchorPoint

Returns or sets the anchor point

-------------------------------------

Getter Method

Signature AnchorPoint

Returns:
Return type:NXOpen.Point2d

New in version NX11.0.1.

License requirements: None.

-------------------------------------

Setter Method

Signature AnchorPoint

Parameters:anchorPoint (NXOpen.Point2d) –

New in version NX11.0.1.

License requirements: None.

DraftingSymbol

Symbol2DBuilder.DraftingSymbol

Returns the 2D symbol sub-builder.

-------------------------------------

Getter Method

Signature DraftingSymbol

Returns:
Return type:NXOpen.Tooling.SelectReuseLibraryItemBuilder

New in version NX12.0.0.

License requirements: None.

EnableScale

Symbol2DBuilder.EnableScale

Returns or sets the scaling

-------------------------------------

Getter Method

Signature EnableScale

Returns:
Return type:bool

New in version NX11.0.1.

License requirements: None.

-------------------------------------

Setter Method

Signature EnableScale

Parameters:enableScale (bool) –

New in version NX11.0.1.

License requirements: None.

Image

Symbol2DBuilder.Image

Returns or sets the image capture builder

-------------------------------------

Getter Method

Signature Image

Returns:
Return type:NXOpen.Gateway.ImageCaptureBuilder

New in version NX11.0.1.

License requirements: None.

-------------------------------------

Setter Method

Signature Image

Parameters:imageCaptureBuilder (NXOpen.Gateway.ImageCaptureBuilder) –

New in version NX11.0.1.

License requirements: None.

IsInline

Symbol2DBuilder.IsInline

Returns or sets the inline

-------------------------------------

Getter Method

Signature IsInline

Returns:
Return type:bool

New in version NX11.0.1.

License requirements: None.

-------------------------------------

Setter Method

Signature IsInline

Parameters:isInline (bool) –

New in version NX11.0.1.

License requirements: None.

PortData

Symbol2DBuilder.PortData

Returns the port data sub-builder.

-------------------------------------

Getter Method

Signature PortData

Returns:
Return type:NXOpen.DiagrammingLibraryAuthor.PortDataBuilder

New in version NX11.0.1.

License requirements: None.

TagLocation

Symbol2DBuilder.TagLocation

Returns or sets the tag location

-------------------------------------

Getter Method

Signature TagLocation

Returns:
Return type:NXOpen.Point2d

New in version NX11.0.1.

License requirements: None.

-------------------------------------

Setter Method

Signature TagLocation

Parameters:tagLocation (NXOpen.Point2d) –

New in version NX11.0.1.

License requirements: None.

Method Detail

CreateFromSymbol

Symbol2DBuilder.CreateFromSymbol

Creates a new symbol from another symbol

Signature CreateFromSymbol(symbolId)

Parameters:symbolId (str) –

New in version NX11.0.1.

License requirements: None.

Validate

Symbol2DBuilder.Validate

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

Signature Validate()

Returns:Was self validation successful
Return type:bool

New in version NX3.0.1.

License requirements: None.