Symbol2DBuilder Class¶
-
class
NXOpen.DiagrammingLibraryAuthor.Symbol2DBuilder¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderRepresents 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
AnchorPointReturns: Return type: NXOpen.Point2dNew in version NX11.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
AnchorPointParameters: anchorPoint ( NXOpen.Point2d) –New in version NX11.0.1.
License requirements: None.
DraftingSymbol¶
-
Symbol2DBuilder.DraftingSymbol¶ Returns the 2D symbol sub-builder.
-------------------------------------Getter Method
Signature
DraftingSymbolReturns: Return type: NXOpen.Tooling.SelectReuseLibraryItemBuilderNew in version NX12.0.0.
License requirements: None.
EnableScale¶
-
Symbol2DBuilder.EnableScale¶ Returns or sets the scaling
-------------------------------------Getter Method
Signature
EnableScaleReturns: Return type: bool New in version NX11.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
EnableScaleParameters: enableScale (bool) – New in version NX11.0.1.
License requirements: None.
Image¶
-
Symbol2DBuilder.Image¶ Returns or sets the image capture builder
-------------------------------------Getter Method
Signature
ImageReturns: Return type: NXOpen.Gateway.ImageCaptureBuilderNew in version NX11.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
ImageParameters: imageCaptureBuilder ( NXOpen.Gateway.ImageCaptureBuilder) –New in version NX11.0.1.
License requirements: None.
IsInline¶
-
Symbol2DBuilder.IsInline¶ Returns or sets the inline
-------------------------------------Getter Method
Signature
IsInlineReturns: Return type: bool New in version NX11.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
IsInlineParameters: isInline (bool) – New in version NX11.0.1.
License requirements: None.
PortData¶
-
Symbol2DBuilder.PortData¶ Returns the port data sub-builder.
-------------------------------------Getter Method
Signature
PortDataReturns: Return type: NXOpen.DiagrammingLibraryAuthor.PortDataBuilderNew in version NX11.0.1.
License requirements: None.
TagLocation¶
-
Symbol2DBuilder.TagLocation¶ Returns or sets the tag location
-------------------------------------Getter Method
Signature
TagLocationReturns: Return type: NXOpen.Point2dNew in version NX11.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
TagLocationParameters: 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.