ViewStyleFPCalloutConfigBuilder Class¶
-
class
NXOpen.Drawings.
ViewStyleFPCalloutConfigBuilder
¶ Bases:
NXOpen.TaggedObject
,NXOpen.GeometricUtilities.IComponentBuilder
Represents the Callout section of the Flat Pattern tab on the View Style Dialog (Drawings.
ViewStyleFPCalloutsBuilder)
New in version NX9.0.0.
Methods¶
Method | Description |
---|---|
GetContents | Returns the contents for a Flat Pattern callout type |
GetOrientationType | Returns the orientation type for flat pattern callouts. |
SetContents | Sets the contents for a Flat Pattern callout type |
SetOrientationType | Sets the orientation type for flat pattern callouts. |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
ViewStyleFPCalloutConfigBuilderOrientationType Enumeration | This enum represents orientation types for the flat pattern callouts |
Method Detail¶
GetContents¶
-
ViewStyleFPCalloutConfigBuilder.
GetContents
¶ Returns the contents for a Flat Pattern callout type
Signature
GetContents(calloutType)
Parameters: calloutType (str) – The name of the callout for which to get the content. Returns: The contents for the callout type. Return type: list of str New in version NX9.0.0.
License requirements: None.
GetOrientationType¶
-
ViewStyleFPCalloutConfigBuilder.
GetOrientationType
¶ Returns the orientation type for flat pattern callouts.
Signature
GetOrientationType()
Returns: The orientation type for the flat pattern callouts. Return type: NXOpen.Drawings.ViewStyleFPCalloutConfigBuilderOrientationType
New in version NX9.0.0.
License requirements: None.
SetContents¶
-
ViewStyleFPCalloutConfigBuilder.
SetContents
¶ Sets the contents for a Flat Pattern callout type
Signature
SetContents(calloutType, contents)
Parameters: - calloutType (str) – The name of the callout for which to set the content.
- contents (list of str) – The contents for the callout type.
New in version NX9.0.0.
License requirements: drafting (“DRAFTING”)
SetOrientationType¶
-
ViewStyleFPCalloutConfigBuilder.
SetOrientationType
¶ Sets the orientation type for flat pattern callouts.
Signature
SetOrientationType(orientation)
Parameters: orientation ( NXOpen.Drawings.ViewStyleFPCalloutConfigBuilderOrientationType
) – The orientation type for the flat pattern callouts.New in version NX9.0.0.
License requirements: drafting (“DRAFTING”)
Validate¶
-
ViewStyleFPCalloutConfigBuilder.
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.