ViewSettingsBuilder Class¶
-
class
NXOpen.Drawings.ViewSettingsBuilder¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderRepresents a
Drawings.ViewSettingsBuilder.This class queries and sets settings specific to drawings data which will get converted to PMI.s
New in version NX11.0.0.
Properties¶
| Property | Description |
|---|---|
| AddSheetName | Returns or sets the add sheet name |
| AddSheetNumber | Returns or sets the add sheet number |
| ApplyCrosshatchToSectionView | Returns or sets the apply crosshatch To section view |
| ConvertAnnotation | Returns or sets the convert annotation |
| Prefix | Returns or sets the prefix string |
| RenderingStyle | Returns or sets the rendering style |
| SectionGeometryTolerance | Returns or sets the section geometry tolerance |
| Separator | Returns or sets the separator string |
| Tag | Returns the Tag for this object. |
| UseAssemblyCrosshatch | Returns or sets the use assembly crosshatch |
Methods¶
| Method | Description |
|---|---|
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
| ViewSettingsBuilderRenderingStyleEnum Enumeration | enum is used to list out different rendering style types |
Property Detail¶
AddSheetName¶
-
ViewSettingsBuilder.AddSheetName¶ Returns or sets the add sheet name
-------------------------------------Getter Method
Signature
AddSheetNameReturns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AddSheetNameParameters: addSheetName (bool) – New in version NX11.0.0.
License requirements: drafting (“DRAFTING”)
AddSheetNumber¶
-
ViewSettingsBuilder.AddSheetNumber¶ Returns or sets the add sheet number
-------------------------------------Getter Method
Signature
AddSheetNumberReturns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AddSheetNumberParameters: addSheetNumber (bool) – New in version NX11.0.0.
License requirements: drafting (“DRAFTING”)
ApplyCrosshatchToSectionView¶
-
ViewSettingsBuilder.ApplyCrosshatchToSectionView¶ Returns or sets the apply crosshatch To section view
-------------------------------------Getter Method
Signature
ApplyCrosshatchToSectionViewReturns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ApplyCrosshatchToSectionViewParameters: applyCrosshatchToSectionView (bool) – New in version NX11.0.0.
License requirements: drafting (“DRAFTING”)
ConvertAnnotation¶
-
ViewSettingsBuilder.ConvertAnnotation¶ Returns or sets the convert annotation
-------------------------------------Getter Method
Signature
ConvertAnnotationReturns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ConvertAnnotationParameters: convertAnnotation (bool) – New in version NX11.0.0.
License requirements: drafting (“DRAFTING”)
Prefix¶
-
ViewSettingsBuilder.Prefix¶ Returns or sets the prefix string
-------------------------------------Getter Method
Signature
PrefixReturns: Return type: str New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PrefixParameters: prefix (str) – New in version NX11.0.0.
License requirements: drafting (“DRAFTING”)
RenderingStyle¶
-
ViewSettingsBuilder.RenderingStyle¶ Returns or sets the rendering style
-------------------------------------Getter Method
Signature
RenderingStyleReturns: Return type: NXOpen.Drawings.ViewSettingsBuilderRenderingStyleEnumNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
RenderingStyleParameters: renderingStyle ( NXOpen.Drawings.ViewSettingsBuilderRenderingStyleEnum) –New in version NX11.0.0.
License requirements: convert_to_pmi (” Convert To PMI”), drafting (“DRAFTING”)
SectionGeometryTolerance¶
-
ViewSettingsBuilder.SectionGeometryTolerance¶ Returns or sets the section geometry tolerance
-------------------------------------Getter Method
Signature
SectionGeometryToleranceReturns: Return type: float New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SectionGeometryToleranceParameters: sectionGeometryTolerance (float) – New in version NX11.0.0.
License requirements: convert_to_pmi (” Convert To PMI”), drafting (“DRAFTING”)
Separator¶
-
ViewSettingsBuilder.Separator¶ Returns or sets the separator string
-------------------------------------Getter Method
Signature
SeparatorReturns: Return type: str New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SeparatorParameters: separator (str) – New in version NX11.0.0.
License requirements: drafting (“DRAFTING”)
UseAssemblyCrosshatch¶
-
ViewSettingsBuilder.UseAssemblyCrosshatch¶ Returns or sets the use assembly crosshatch
-------------------------------------Getter Method
Signature
UseAssemblyCrosshatchReturns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
UseAssemblyCrosshatchParameters: useAssemblyCrosshatch (bool) – New in version NX11.0.0.
License requirements: drafting (“DRAFTING”)
Method Detail¶
Validate¶
-
ViewSettingsBuilder.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.