SessionAssemblies Class¶
-
class
NXOpen.Preferences.
SessionAssemblies
¶ Bases:
object
Represents the set of Assemblies Preferences applicable to entire session
To obtain an instance of this class, refer to
NXOpen.Preferences.SessionPreferences
New in version NX3.0.0.
Properties¶
Property | Description |
---|---|
CheckNewerRevisionsOfTemplatePart | Returns or sets the check for newer revisions of template part option |
ComponentMemberSelect | Returns or sets the component member select option |
DisplayUpdateReport | Returns or sets the display update report option |
DragHandlePositionPreference | Returns or sets the drag handle position preference |
InterpartPositioning | Returns or sets the option to allow interpart geometry selection in the assembly constraints dialog |
PartNameAttribute | Returns or sets the part name attribute |
PartNameStyle | Returns or sets the part name style |
PositioningTaskCollectionForDesignElements | Returns or sets the option to specify where to add Design Elements selected whilst working in the Assembly Constraints Dialog. |
PreviewComponentOnAdd | Returns or sets the preview component on add option |
ProductInterfaceEmphasize | Returns or sets the product interface display emphasis setting |
TolerantPositioning | Returns or sets the option to allow tolerant (imprecise) geometry selection for assembly positioning |
TrueShapeFiltering | Returns or sets the true shape filtering option |
UpdateDesignElementPositionOnLoad | Returns or sets the option that enables automatic local positioning update of design elements |
UpdateStructureOnExpand | Returns or sets the update structure on assembly tree expand option |
WarnOnDelete | Returns or sets the warn on delete option |
WarnOnDragDrop | Returns or sets the warn on drag and drop |
WorkPartDisplayAsEntirePart | Returns or sets the work part display as entire part option |
WorkPartEmphasize | Returns or sets the emphasize for work part |
WorkPartMaintain | Returns or sets the work part maintain option |
WorkPartWarnOnAutomaticChange | Returns or sets the warn on automatic change for work part option |
Methods¶
Enumerations¶
SessionAssembliesDragHandlePositionOption Enumeration | Specify whether drag handle will be positioned at the center of bounding box or origin of component |
SessionAssembliesPartNameOption Enumeration | Describe whether the part name style is file name or description or specified |
SessionAssembliesPositioningTaskCollectionOptionForDesignElements Enumeration | Specify whether Design Elements will be added to the Work or Context Collection of a Positioning Task |
Property Detail¶
CheckNewerRevisionsOfTemplatePart¶
-
SessionAssemblies.
CheckNewerRevisionsOfTemplatePart
¶ Returns or sets the check for newer revisions of template part option
-------------------------------------
Getter Method
Signature
CheckNewerRevisionsOfTemplatePart
Returns: Return type: bool New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
CheckNewerRevisionsOfTemplatePart
Parameters: checkNewerRevisionsOfTemplatePart (bool) – New in version NX3.0.0.
License requirements: None.
ComponentMemberSelect¶
-
SessionAssemblies.
ComponentMemberSelect
¶ Returns or sets the component member select option
-------------------------------------
Getter Method
Signature
ComponentMemberSelect
Returns: Return type: bool New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ComponentMemberSelect
Parameters: componentMemberSelect (bool) – New in version NX3.0.0.
License requirements: None.
DisplayUpdateReport¶
-
SessionAssemblies.
DisplayUpdateReport
¶ Returns or sets the display update report option
-------------------------------------
Getter Method
Signature
DisplayUpdateReport
Returns: Return type: bool New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DisplayUpdateReport
Parameters: displayUpdateReport (bool) – New in version NX3.0.0.
License requirements: None.
DragHandlePositionPreference¶
-
SessionAssemblies.
DragHandlePositionPreference
¶ Returns or sets the drag handle position preference
-------------------------------------
Getter Method
Signature
DragHandlePositionPreference
Returns: Return type: NXOpen.Preferences.SessionAssembliesDragHandlePositionOption
New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DragHandlePositionPreference
Parameters: dragHandlePosition ( NXOpen.Preferences.SessionAssembliesDragHandlePositionOption
) –New in version NX10.0.0.
License requirements: None.
InterpartPositioning¶
-
SessionAssemblies.
InterpartPositioning
¶ Returns or sets the option to allow interpart geometry selection in the assembly constraints dialog
-------------------------------------
Getter Method
Signature
InterpartPositioning
Returns: Return type: bool New in version NX6.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
InterpartPositioning
Parameters: allowInterpartPositioning (bool) – New in version NX6.0.1.
License requirements: None.
PartNameAttribute¶
-
SessionAssemblies.
PartNameAttribute
¶ Returns or sets the part name attribute
-------------------------------------
Getter Method
Signature
PartNameAttribute
Returns: Return type: str New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PartNameAttribute
Parameters: partNameAttribute (str) – New in version NX3.0.0.
License requirements: None.
PartNameStyle¶
-
SessionAssemblies.
PartNameStyle
¶ Returns or sets the part name style
-------------------------------------
Getter Method
Signature
PartNameStyle
Returns: Return type: NXOpen.Preferences.SessionAssembliesPartNameOption
New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PartNameStyle
Parameters: partNameStyle ( NXOpen.Preferences.SessionAssembliesPartNameOption
) –New in version NX3.0.0.
License requirements: None.
PositioningTaskCollectionForDesignElements¶
-
SessionAssemblies.
PositioningTaskCollectionForDesignElements
¶ Returns or sets the option to specify where to add Design Elements selected whilst working in the Assembly Constraints Dialog.
The Design Elements will either be added to the Work or the Context collection of the Positioning Task.
-------------------------------------
Getter Method
Signature
PositioningTaskCollectionForDesignElements
Returns: Return type: NXOpen.Preferences.SessionAssembliesPositioningTaskCollectionOptionForDesignElements
New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PositioningTaskCollectionForDesignElements
Parameters: collection ( NXOpen.Preferences.SessionAssembliesPositioningTaskCollectionOptionForDesignElements
) –New in version NX10.0.0.
License requirements: None.
PreviewComponentOnAdd¶
-
SessionAssemblies.
PreviewComponentOnAdd
¶ Returns or sets the preview component on add option
-------------------------------------
Getter Method
Signature
PreviewComponentOnAdd
Returns: Return type: bool New in version NX3.0.0.
Deprecated since version NX12.0.0: No replacement.
License requirements: None.
-------------------------------------
Setter Method
Signature
PreviewComponentOnAdd
Parameters: previewComponentOnAdd (bool) – New in version NX3.0.0.
Deprecated since version NX12.0.0: No replacement.
License requirements: None.
ProductInterfaceEmphasize¶
-
SessionAssemblies.
ProductInterfaceEmphasize
¶ Returns or sets the product interface display emphasis setting
-------------------------------------
Getter Method
Signature
ProductInterfaceEmphasize
Returns: Return type: bool New in version NX5.0.0.
Deprecated since version NX8.5.0: Use
Preferences.SessionVisualizationEmphasis.ProductInterfaceEmphasis()
instead.License requirements: None.
-------------------------------------
Setter Method
Signature
ProductInterfaceEmphasize
Parameters: productInterfaceEmphasize (bool) – New in version NX5.0.0.
Deprecated since version NX8.5.0: Use
Preferences.SessionVisualizationEmphasis.ProductInterfaceEmphasis()
instead.License requirements: None.
TolerantPositioning¶
-
SessionAssemblies.
TolerantPositioning
¶ Returns or sets the option to allow tolerant (imprecise) geometry selection for assembly positioning
-------------------------------------
Getter Method
Signature
TolerantPositioning
Returns: Return type: bool New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TolerantPositioning
Parameters: allowTolerantPositioning (bool) – New in version NX4.0.0.
License requirements: None.
TrueShapeFiltering¶
-
SessionAssemblies.
TrueShapeFiltering
¶ Returns or sets the true shape filtering option
-------------------------------------
Getter Method
Signature
TrueShapeFiltering
Returns: Return type: bool New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TrueShapeFiltering
Parameters: trueShapeFiltering (bool) – New in version NX3.0.0.
License requirements: None.
UpdateDesignElementPositionOnLoad¶
-
SessionAssemblies.
UpdateDesignElementPositionOnLoad
¶ Returns or sets the option that enables automatic local positioning update of design elements
-------------------------------------
Getter Method
Signature
UpdateDesignElementPositionOnLoad
Returns: Return type: bool New in version NX10.0.0.
License requirements: nx_4gd_integration (“4th Generation Design”)
-------------------------------------
Setter Method
Signature
UpdateDesignElementPositionOnLoad
Parameters: updateDesignElementPositionOnLoad (bool) – New in version NX10.0.0.
License requirements: nx_4gd_integration (“4th Generation Design”)
UpdateStructureOnExpand¶
-
SessionAssemblies.
UpdateStructureOnExpand
¶ Returns or sets the update structure on assembly tree expand option
-------------------------------------
Getter Method
Signature
UpdateStructureOnExpand
Returns: Return type: bool New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
UpdateStructureOnExpand
Parameters: updateStructure (bool) – New in version NX4.0.0.
License requirements: None.
WarnOnDelete¶
-
SessionAssemblies.
WarnOnDelete
¶ Returns or sets the warn on delete option
-------------------------------------
Getter Method
Signature
WarnOnDelete
Returns: Return type: bool New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
WarnOnDelete
Parameters: workOnDelete (bool) – New in version NX9.0.0.
License requirements: None.
WarnOnDragDrop¶
-
SessionAssemblies.
WarnOnDragDrop
¶ Returns or sets the warn on drag and drop
-------------------------------------
Getter Method
Signature
WarnOnDragDrop
Returns: Return type: bool New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
WarnOnDragDrop
Parameters: warnOnDragDrop (bool) – New in version NX3.0.0.
License requirements: None.
WorkPartDisplayAsEntirePart¶
-
SessionAssemblies.
WorkPartDisplayAsEntirePart
¶ Returns or sets the work part display as entire part option
-------------------------------------
Getter Method
Signature
WorkPartDisplayAsEntirePart
Returns: Return type: bool New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
WorkPartDisplayAsEntirePart
Parameters: workPartDisplayAsEntirePart (bool) – New in version NX3.0.0.
License requirements: None.
WorkPartEmphasize¶
-
SessionAssemblies.
WorkPartEmphasize
¶ Returns or sets the emphasize for work part
-------------------------------------
Getter Method
Signature
WorkPartEmphasize
Returns: Return type: bool New in version NX3.0.0.
Deprecated since version NX8.5.0: Use
Preferences.SessionVisualizationEmphasis.WorkPartEmphasis()
instead.License requirements: None.
-------------------------------------
Setter Method
Signature
WorkPartEmphasize
Parameters: workPartEmphasize (bool) – New in version NX3.0.0.
Deprecated since version NX8.5.0: Use
Preferences.SessionVisualizationEmphasis.WorkPartEmphasis()
instead.License requirements: None.
WorkPartMaintain¶
-
SessionAssemblies.
WorkPartMaintain
¶ Returns or sets the work part maintain option
-------------------------------------
Getter Method
Signature
WorkPartMaintain
Returns: Return type: bool New in version NX3.0.0.
Deprecated since version NX12.0.0: No replacement.
License requirements: None.
-------------------------------------
Setter Method
Signature
WorkPartMaintain
Parameters: workPartMaintain (bool) – New in version NX3.0.0.
Deprecated since version NX12.0.0: No replacement.
License requirements: None.
WorkPartWarnOnAutomaticChange¶
-
SessionAssemblies.
WorkPartWarnOnAutomaticChange
¶ Returns or sets the warn on automatic change for work part option
-------------------------------------
Getter Method
Signature
WorkPartWarnOnAutomaticChange
Returns: Return type: bool New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
WorkPartWarnOnAutomaticChange
Parameters: workPartWarnOnAutomaticChange (bool) – New in version NX3.0.0.
License requirements: None.