ThreadsViewStyle Class¶
-
class
NXOpen.Drawings.
ThreadsViewStyle
¶ Bases:
object
Represents set of Threads View Style Preferences applicable to drafting views.
Allows to create ANSI and ISO thread representations for both internal and external threads in drawing member views.
To obtain an instance of this class use
Drawings.ViewStyle.Threads
New in version NX5.0.0.
Properties¶
Property | Description |
---|---|
MinimumPitchField | Returns or sets the minimum pitch field. |
OverrideVisibleThreadColor | Returns or sets the visible thread override color. |
RenderTrueHiddenLine | Returns or sets the status of render true hidden line |
ThreadsStandardOptionData | Returns or sets the threads standard option |
Methods¶
Property Detail¶
MinimumPitchField¶
-
ThreadsViewStyle.
MinimumPitchField
¶ Returns or sets the minimum pitch field.
Allows to control the minimum distance (in drawing coordinates) to which two points which represent crests of a thread are drawn. It is also used to control the minimum distance between a thread and it’s defining geometry such as edges, silhouettes or section edges of the cylindrical face or chamfered face. This can be used to help prevent lines from running together, when threads with a small pitch are plotted at a small scale.
-------------------------------------
Getter Method
Signature
MinimumPitchField()
Returns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MinimumPitchField(minimumPitchField)
Parameters: minimumPitchField (float) – New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)
OverrideVisibleThreadColor¶
-
ThreadsViewStyle.
OverrideVisibleThreadColor
¶ Returns or sets the visible thread override color.
The value should be between 1 and 216.
-------------------------------------
Getter Method
Signature
OverrideVisibleThreadColor()
Returns: Return type: int New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
OverrideVisibleThreadColor(overrideVisibleThreadColor)
Parameters: overrideVisibleThreadColor (int) – New in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
ThreadsStandardOptionData¶
-
ThreadsViewStyle.
ThreadsStandardOptionData
¶ Returns or sets the threads standard option
-------------------------------------
Getter Method
Signature
ThreadsStandardOptionData()
Returns: Return type: int New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ThreadsStandardOptionData(threadsStandardOptionData)
Parameters: threadsStandardOptionData (int) – New in version NX5.0.0.
License requirements: drafting (“DRAFTING”)