SessionModeling Class¶
-
class
NXOpen.Preferences.
SessionModeling
¶ Bases:
object
Represents the set of Modeling 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 |
---|---|
AccelerationColor | Returns or sets the acceleration color |
ActivateFeatureGroupWithRollback | Returns or sets the flag to activate the feature group with rollback or not, if the flag is true, the highest member feature will be made as current feature |
AllowEditingOfDimensionOfInternalSketch | Returns or sets the option allow_editing_of_dimension_of_internal_sketch gives choice, whether or not the sketch dimensions will display and be possible to select and edit directly, without entering the Sketch task environment when a dialog (e. |
AssociativeEditFreeForm | Returns or sets the associative edit free form option. |
BodyType | Returns or sets the body type. |
BooleanFaceProperties | Returns or sets the boolean face properties inheritance. |
CurvatureColor | Returns or sets the curvature color |
CurveFitMethod | Returns or sets the curve fit method. |
DisplayLegacyFeatureName | Returns or sets the toggle Display Legacy Feature names gives choice, how user wants feature name in Name Coulmn in Partnav checked toggled(True) will show old feature names in Name column in Partnav, while unchecked toggled(False) will show new translatable feature names in Name column in Partnav |
DynamicUpdate | Returns or sets the dynamic update. |
EditWithRollbackUponDoubleClick | Returns or sets the option Edit with Rollback upon Double-Click gives choice of what action to be taken on feature upon Double clicking, either in partnavigator or in Graphics widow. |
EnableTrimmedAnimation | Returns or sets the enable trimmed animation setting. |
EndpointDisplayColor | Returns or sets the color for display endpoints for curves. |
EndpointDisplayInheritColor | Returns or sets the endpoint color inherit option, for display with curves. |
EndpointDisplayStyle | Returns or sets the style (2D disk, mark, etc. |
FreeFormConstructionResult | Returns or sets the free form construction result. |
ImmediateChildren | Returns or sets the immediate children. |
InterruptUpdateOnError | Returns or sets the option Interrupt Update on Error gives choice, whether the user wants the Edit During Update dialog to appear when features contain errors during feature update/playback. |
InterruptUpdateOnMissingReferences | Returns or sets the option Interrupt Update on Missing References gives choice, whether the user wants the Edit During Update dialog to appear when features contain missing references during feature update/playback. |
InterruptUpdateOnWarning | Returns or sets the option Interrupt Update on Warning gives choice, whether the user wants the Edit During Update dialog to appear when features contain warnings during feature update/playback. |
LinkedAndExtractedGeometryProperties | Returns or sets the linked and extracted geometry properties inheritance. |
MakeCurrentOnError | Returns or sets the option Make Current on Error gives choice, whether the user wants to make error feature current when features contain errors during feature update/playback. |
MakeDatumsInternal | Returns or sets the option specifying whether to automatically make the datums internal during the sketch creation. |
MakeSketchesInternal | Returns or sets the option specifying whether to automatically make sketch internal during feature creation. |
NewFaceProperties | Returns or sets the new face properties inheritance. |
NotifyOnDelete | Returns or sets the option Notify on Delete gives choice, whether the user wants a notification message when a feature is being deleted will effect other features. |
PmarkFrequency | Returns or sets the features/mark. |
PoleDisplayColor | Returns or sets the color for display poles for B curves. |
PoleDisplayInheritColor | Returns or sets the pole color inherit option, for display with B curves. |
PoleDisplayStyle | Returns or sets the style (3D ball, 2D disk, mark, etc. |
PoleEditColor | Returns or sets the color for editing poles for B curves and B surfaces. |
PoleEditInheritColor | Returns or sets the pole color inherit option, for editing B curves and B surfaces. |
PoleEditStyle | Returns or sets the style (3D ball, 2D disk, mark, etc. |
PolylineDisplayColor | Returns or sets the color for display polylines for B curves and B surfaces |
PolylineDisplayInheritColor | Returns or sets the polyline color inherit option, for display with B curves and B surfaces. |
PolylineDisplayStyle | Returns or sets the style (solid, dashed, etc. |
PolylineEditColor | Returns or sets the color for editing polylines for B curves and B surfaces. |
PolylineEditInheritColor | Returns or sets the polyline color inherit option, for editing B curves and B surfaces. |
PolylineEditStyle | Returns or sets the style (solid, dashed, etc. |
PositionColor | Returns or sets the position color |
PreviewResolution | Returns or sets the preview resolution setting. |
SaveDataForFeatureEdit | Returns or sets the option Save Data for Feature Edit specifies what additional data will be saved in the part to enhance feature edit. |
SaveRollbackData | Returns or sets the option Save Rollback Data saves extra data with the part file for faster edits. |
ShareGeometriesOption | Returns or sets the option Share Geometry on Save gives choice of whether to share geometries among Parasolid solid entities on save or not |
ShowSimuationUiInModeling | Returns or sets the option to specify whether simulation specific UI should show up in modeling |
SketchDefaultAction | Returns or sets the sketch default action |
SketchEditOption | Returns or sets the option that determines whether or not task environment is used to edit the sketch |
SplineDefaultActionType | Returns or sets the value indicating the default action for a spline. |
SurfaceExtension | Returns or sets the surface extension option. |
TangentColor | Returns or sets the tangent color |
TreatOneDegreeBsplineAsPolyline | Returns or sets the option to treat single degree bspline as polyline |
UpdateDelayed | Returns or sets the update delayed option. |
UpdateFailureReportPreference | Returns or sets the option Update Failure Report gives choice, whether the user wants the update failure report to be generated for the features that failed during current update cycle. |
UpdatePending | Returns or sets the update pending option. |
UseTriangularMesh | Returns or sets the use triangular mesh setting setting. |
Methods¶
Enumerations¶
SessionModelingBodyTypeOption Enumeration | Describes whether the body type is solid or sheet |
SessionModelingBooleanFacePropertiesInheritance Enumeration | Describes whether the display of Boolean Face properties inherits from target body or tool body |
SessionModelingCurveFitMethodType Enumeration | Describes whether the Curve Fit Method type is selected as cubic or quintic or advanced |
SessionModelingDynamicUpdateType Enumeration | Describes whether the Dynamic Update type is not selected or selected as incremental or continuous |
SessionModelingEndpointDisplayStyleType Enumeration | Styles for display endpoints of curves |
SessionModelingFreeFormConstructionResultType Enumeration | Describes whether the Free Form Construction Result is plane or B Surface |
SessionModelingImmediateChildrenType Enumeration | Describes whether the Immediate Children type is selected for first level or for all |
SessionModelingLinkedAndExtractedGeometryPropertiesInheritance Enumeration | Describes whether the display of linked and extracted geometry properties inherits from parent object or part default |
SessionModelingNewFacePropertiesInheritance Enumeration | Describes whether the display of New Face properties inherits from body or part default |
SessionModelingPoleDisplayStyleType Enumeration | Styles for display poles of B curves and B surfaces |
SessionModelingPoleEditStyleType Enumeration | Styles for edit poles of B curves and B surfaces |
SessionModelingPolylineStyleType Enumeration | Styles for polylines of B curves and B surfaces |
SessionModelingPreviewResolutionType Enumeration | Freeform preview resolutions |
SessionModelingSaveDataForFeatureEditOption Enumeration | Options for controling what additional data needs to be saved in part file to enhance the feature edit |
SessionModelingShareGeometriesOnSaveType Enumeration | Options for saving a part file with sharing of geometry data to reduce file size |
SessionModelingSketchDefaultActionType Enumeration | Double click action for sketches |
SessionModelingSketchEditType Enumeration | Edit option for sketches |
SessionModelingSplineDefaultActionTypes Enumeration | Specifies the command that should be invoked when double-clicking on a spline. |
SessionModelingSurfaceExtensionOption Enumeration | Options for controling how surfaces will be extended while moving geometry |
Property Detail¶
AccelerationColor¶
-
SessionModeling.
AccelerationColor
¶ Returns or sets the acceleration color
-------------------------------------
Getter Method
Signature
AccelerationColor()
Returns: Return type: int New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AccelerationColor(accelerationColor)
Parameters: accelerationColor (int) – New in version NX3.0.0.
License requirements: None.
ActivateFeatureGroupWithRollback¶
-
SessionModeling.
ActivateFeatureGroupWithRollback
¶ Returns or sets the flag to activate the feature group with rollback or not, if the flag is true, the highest member feature will be made as current feature
-------------------------------------
Getter Method
Signature
ActivateFeatureGroupWithRollback()
Returns: Flag indicating whether the highest member feature will be made as current feature when activate the feature group Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ActivateFeatureGroupWithRollback(activateFeatureGroupWithRollback)
Parameters: activateFeatureGroupWithRollback (bool) – New in version NX8.5.0.
License requirements: None.
AllowEditingOfDimensionOfInternalSketch¶
-
SessionModeling.
AllowEditingOfDimensionOfInternalSketch
¶ Returns or sets the option “allow_editing_of_dimension_of_internal_sketch” gives choice, whether or not the sketch dimensions will display and be possible to select and edit directly, without entering the Sketch task environment when a dialog (e.
g. Extrude, Revolve, Hole etc.) is active which allows editing on an internal sketch.
-------------------------------------
Getter Method
Signature
AllowEditingOfDimensionOfInternalSketch()
Returns: allow sketch dim edit of internal sketch preference Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AllowEditingOfDimensionOfInternalSketch(allowEditingOfDimensionOfInternalSketch)
Parameters: allowEditingOfDimensionOfInternalSketch (bool) – allow sketch dim edit of internal sketch preference New in version NX7.5.0.
License requirements: None.
AssociativeEditFreeForm¶
-
SessionModeling.
AssociativeEditFreeForm
¶ Returns or sets the associative edit free form option.
Specify whether the output of editing certain free form features remain as free form features or as unparameterized features.
-------------------------------------
Getter Method
Signature
AssociativeEditFreeForm()
Returns: Return type: bool New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AssociativeEditFreeForm(associativeEditFreeForm)
Parameters: associativeEditFreeForm (bool) – New in version NX3.0.0.
License requirements: None.
BodyType¶
-
SessionModeling.
BodyType
¶ Returns or sets the body type.
Toggles between Solid and Sheet. When creating bodies through curves, the Body Type option provides control to the type of body (for example, solid body vs. sheet body) that is created.
-------------------------------------
Getter Method
Signature
BodyType()
Returns: Return type: NXOpen.Preferences.SessionModelingBodyTypeOption
New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
BodyType(bodyType)
Parameters: bodyType ( NXOpen.Preferences.SessionModelingBodyTypeOption
) –New in version NX3.0.0.
License requirements: None.
BooleanFaceProperties¶
-
SessionModeling.
BooleanFaceProperties
¶ Returns or sets the boolean face properties inheritance.
Specifies whether the boolean face properties inherit from target body or tool body
-------------------------------------
Getter Method
Signature
BooleanFaceProperties()
Returns: Return type: NXOpen.Preferences.SessionModelingBooleanFacePropertiesInheritance
New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
BooleanFaceProperties(booleanFaceProperties)
Parameters: booleanFaceProperties ( NXOpen.Preferences.SessionModelingBooleanFacePropertiesInheritance
) –New in version NX3.0.0.
License requirements: None.
CurvatureColor¶
-
SessionModeling.
CurvatureColor
¶ Returns or sets the curvature color
-------------------------------------
Getter Method
Signature
CurvatureColor()
Returns: Return type: int New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
CurvatureColor(curvatureColor)
Parameters: curvatureColor (int) – New in version NX3.0.0.
License requirements: None.
CurveFitMethod¶
-
SessionModeling.
CurveFitMethod
¶ Returns or sets the curve fit method.
Controls the fitting method used when curves must be approximated by splines.
-------------------------------------
Getter Method
Signature
CurveFitMethod()
Returns: Return type: NXOpen.Preferences.SessionModelingCurveFitMethodType
New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
CurveFitMethod(bodyType)
Parameters: bodyType ( NXOpen.Preferences.SessionModelingCurveFitMethodType
) –New in version NX3.0.0.
License requirements: None.
DisplayLegacyFeatureName¶
-
SessionModeling.
DisplayLegacyFeatureName
¶ Returns or sets the toggle “Display Legacy Feature names” gives choice, how user wants feature name in “Name” Coulmn in Partnav checked toggled(True) will show old feature names in “Name” column in Partnav, while unchecked toggled(False) will show new translatable feature names in “Name” column in Partnav
-------------------------------------
Getter Method
Signature
DisplayLegacyFeatureName()
Returns: preference to display_legacy_feature_name Return type: bool New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DisplayLegacyFeatureName(displayLegacyFeatureName)
Parameters: displayLegacyFeatureName (bool) – preference to display_legacy_feature_name New in version NX4.0.0.
License requirements: None.
DynamicUpdate¶
-
SessionModeling.
DynamicUpdate
¶ Returns or sets the dynamic update.
Specifies that the system dynamically displays in real time with each updation of parent curves, splines, bridge curves, lines or arcs
-------------------------------------
Getter Method
Signature
DynamicUpdate()
Returns: Return type: NXOpen.Preferences.SessionModelingDynamicUpdateType
New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DynamicUpdate(dynamicUpdate)
Parameters: dynamicUpdate ( NXOpen.Preferences.SessionModelingDynamicUpdateType
) –New in version NX3.0.0.
License requirements: None.
EditWithRollbackUponDoubleClick¶
-
SessionModeling.
EditWithRollbackUponDoubleClick
¶ Returns or sets the option “Edit with Rollback upon Double-Click” gives choice of what action to be taken on feature upon Double clicking, either in partnavigator or in Graphics widow.
if the option is true then edit with rollback will be happen upon Double-click. if the option is false then the previous default action will be executed
-------------------------------------
Getter Method
Signature
EditWithRollbackUponDoubleClick()
Returns: preference to Edit with Rollback upon Double-Click Return type: bool New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
EditWithRollbackUponDoubleClick(defaultEditOption)
Parameters: defaultEditOption (bool) – preference to Edit with Rollback upon Double-Click New in version NX4.0.0.
License requirements: None.
EnableTrimmedAnimation¶
-
SessionModeling.
EnableTrimmedAnimation
¶ Returns or sets the enable trimmed animation setting.
-------------------------------------
Getter Method
Signature
EnableTrimmedAnimation()
Returns: Return type: bool New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
EnableTrimmedAnimation(enable)
Parameters: enable (bool) – New in version NX4.0.0.
License requirements: None.
EndpointDisplayColor¶
-
SessionModeling.
EndpointDisplayColor
¶ Returns or sets the color for display endpoints for curves.
-------------------------------------
Getter Method
Signature
EndpointDisplayColor()
Returns: Return type: int New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
EndpointDisplayColor(endpointDisplayColor)
Parameters: endpointDisplayColor (int) – New in version NX7.5.0.
License requirements: None.
EndpointDisplayInheritColor¶
-
SessionModeling.
EndpointDisplayInheritColor
¶ Returns or sets the endpoint color inherit option, for display with curves.
-------------------------------------
Getter Method
Signature
EndpointDisplayInheritColor()
Returns: Return type: bool New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
EndpointDisplayInheritColor(endpointDisplayInheritColor)
Parameters: endpointDisplayInheritColor (bool) – New in version NX8.5.0.
License requirements: None.
EndpointDisplayStyle¶
-
SessionModeling.
EndpointDisplayStyle
¶ Returns or sets the style (2D disk, mark, etc.
) of the endpoints for display of curves.
-------------------------------------
Getter Method
Signature
EndpointDisplayStyle()
Returns: Return type: NXOpen.Preferences.SessionModelingEndpointDisplayStyleType
New in version NX8.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
EndpointDisplayStyle(endpointDisplayStyle)
Parameters: endpointDisplayStyle ( NXOpen.Preferences.SessionModelingEndpointDisplayStyleType
) –New in version NX8.5.0.
License requirements: None.
FreeFormConstructionResult¶
-
SessionModeling.
FreeFormConstructionResult
¶ Returns or sets the free form construction result.
Controls free form feature creation when using the Through Curves, Through Curve Mesh, Swept, and Ruled options.
-------------------------------------
Getter Method
Signature
FreeFormConstructionResult()
Returns: Return type: NXOpen.Preferences.SessionModelingFreeFormConstructionResultType
New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
FreeFormConstructionResult(freeFormConstrResult)
Parameters: freeFormConstrResult ( NXOpen.Preferences.SessionModelingFreeFormConstructionResultType
) –New in version NX3.0.0.
License requirements: None.
ImmediateChildren¶
-
SessionModeling.
ImmediateChildren
¶ Returns or sets the immediate children.
Specifies to which level the dynamic updation is applicable.
-------------------------------------
Getter Method
Signature
ImmediateChildren()
Returns: Return type: NXOpen.Preferences.SessionModelingImmediateChildrenType
New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ImmediateChildren(immediateChildren)
Parameters: immediateChildren ( NXOpen.Preferences.SessionModelingImmediateChildrenType
) –New in version NX3.0.0.
License requirements: None.
InterruptUpdateOnError¶
-
SessionModeling.
InterruptUpdateOnError
¶ Returns or sets the option “Interrupt Update on Error” gives choice, whether the user wants the “Edit During Update” dialog to appear when features contain errors during feature update/playback.
if the option is true then the dialog will appear. if the option is false then dialog will not appear during feature update.
-------------------------------------
Getter Method
Signature
InterruptUpdateOnError()
Returns: preference to Interrupt Update on Error Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
InterruptUpdateOnError(interruptOnError)
Parameters: interruptOnError (bool) – preference to Interrupt Update on Error New in version NX5.0.0.
License requirements: None.
InterruptUpdateOnMissingReferences¶
-
SessionModeling.
InterruptUpdateOnMissingReferences
¶ Returns or sets the option “Interrupt Update on Missing References” gives choice, whether the user wants the “Edit During Update” dialog to appear when features contain missing references during feature update/playback.
if the option is true then the dialog will appear. if the option is false then dialog will not appear during feature update.
-------------------------------------
Getter Method
Signature
InterruptUpdateOnMissingReferences()
Returns: preference to Interrupt Update on Missing References Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
InterruptUpdateOnMissingReferences(interruptOnMissingReferences)
Parameters: interruptOnMissingReferences (bool) – preference to Interrupt Update on Missing References New in version NX7.5.0.
License requirements: None.
InterruptUpdateOnWarning¶
-
SessionModeling.
InterruptUpdateOnWarning
¶ Returns or sets the option “Interrupt Update on Warning” gives choice, whether the user wants the “Edit During Update” dialog to appear when features contain warnings during feature update/playback.
if the option is true then the dialog will appear. if the option is false then dialog will not appear during feature update.
-------------------------------------
Getter Method
Signature
InterruptUpdateOnWarning()
Returns: preference to Interrupt Update on Warning Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
InterruptUpdateOnWarning(interruptOnWarning)
Parameters: interruptOnWarning (bool) – preference to Interrupt Update on Warning New in version NX5.0.0.
License requirements: None.
LinkedAndExtractedGeometryProperties¶
-
SessionModeling.
LinkedAndExtractedGeometryProperties
¶ Returns or sets the linked and extracted geometry properties inheritance.
Specifies whether linked and extracted geometry properties inherits from parent object or part default
-------------------------------------
Getter Method
Signature
LinkedAndExtractedGeometryProperties()
Returns: Return type: NXOpen.Preferences.SessionModelingLinkedAndExtractedGeometryPropertiesInheritance
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
LinkedAndExtractedGeometryProperties(linkedAndExtractedGeometryProperties)
Parameters: linkedAndExtractedGeometryProperties ( NXOpen.Preferences.SessionModelingLinkedAndExtractedGeometryPropertiesInheritance
) –New in version NX6.0.0.
License requirements: None.
MakeCurrentOnError¶
-
SessionModeling.
MakeCurrentOnError
¶ Returns or sets the option “Make Current on Error” gives choice, whether the user wants to make error feature current when features contain errors during feature update/playback.
If the option is true then the error feature will be made current. If the option is false then the error feature will not be made current feature during feature update.
-------------------------------------
Getter Method
Signature
MakeCurrentOnError()
Returns: preference to Make Error Feature Current on Error Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MakeCurrentOnError(currentOnError)
Parameters: currentOnError (bool) – preference to Make Error Feature Current on Error New in version NX7.5.0.
License requirements: None.
MakeDatumsInternal¶
-
SessionModeling.
MakeDatumsInternal
¶ Returns or sets the option specifying whether to automatically make the datums internal during the sketch creation.
If the option is true then datums are automatically made internal to child sketches, else datums are not automatically made internal to child sketches.
-------------------------------------
Getter Method
Signature
MakeDatumsInternal()
Returns: Flag indicating whether to make datums internal Return type: bool New in version NX7.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MakeDatumsInternal(makeDatumsInternal)
Parameters: makeDatumsInternal (bool) – Flag indicating whether to make datums internal New in version NX7.0.0.
License requirements: None.
MakeSketchesInternal¶
-
SessionModeling.
MakeSketchesInternal
¶ Returns or sets the option specifying whether to automatically make sketch internal during feature creation.
If the option is true then external sketches are automatically made internal to child features, else external sketches are not automatically made internal to child features.
-------------------------------------
Getter Method
Signature
MakeSketchesInternal()
Returns: Flag indicating whether to make sketches internal Return type: bool New in version NX7.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MakeSketchesInternal(makeSketchesInternal)
Parameters: makeSketchesInternal (bool) – Flag indicating whether to make sketches internal New in version NX7.0.0.
License requirements: None.
NewFaceProperties¶
-
SessionModeling.
NewFaceProperties
¶ Returns or sets the new face properties inheritance.
Specifies whether new face properties inherits from body or part default
-------------------------------------
Getter Method
Signature
NewFaceProperties()
Returns: Return type: NXOpen.Preferences.SessionModelingNewFacePropertiesInheritance
New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
NewFaceProperties(newFaceProperties)
Parameters: newFaceProperties ( NXOpen.Preferences.SessionModelingNewFacePropertiesInheritance
) –New in version NX3.0.0.
License requirements: None.
NotifyOnDelete¶
-
SessionModeling.
NotifyOnDelete
¶ Returns or sets the option ” Notify on Delete ” gives choice, whether the user wants a notification message when a feature is being deleted will effect other features.
if the option is true then it popup a notification message. if the option is true then it will not popup any notification message
-------------------------------------
Getter Method
Signature
NotifyOnDelete()
Returns: preference to Notify on Delete Return type: bool New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
NotifyOnDelete(notifyOnDelete)
Parameters: notifyOnDelete (bool) – preference to Notify on Delete New in version NX4.0.0.
License requirements: None.
PmarkFrequency¶
-
SessionModeling.
PmarkFrequency
¶ Returns or sets the features/mark.
Controls how often, during feature creation and editing, the system sets internal marks used in updating. A Features/Mark value of 5, for example, means that one mark will be set after five features are created or edited.
-------------------------------------
Getter Method
Signature
PmarkFrequency()
Returns: Return type: int New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PmarkFrequency(pmarkFrequency)
Parameters: pmarkFrequency (int) – New in version NX3.0.0.
License requirements: None.
PoleDisplayColor¶
-
SessionModeling.
PoleDisplayColor
¶ Returns or sets the color for display poles for B curves.
-------------------------------------
Getter Method
Signature
PoleDisplayColor()
Returns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PoleDisplayColor(poleDisplayColor)
Parameters: poleDisplayColor (int) – New in version NX7.5.0.
License requirements: None.
PoleDisplayInheritColor¶
-
SessionModeling.
PoleDisplayInheritColor
¶ Returns or sets the pole color inherit option, for display with B curves.
-------------------------------------
Getter Method
Signature
PoleDisplayInheritColor()
Returns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PoleDisplayInheritColor(poleDisplayInheritColor)
Parameters: poleDisplayInheritColor (bool) – New in version NX7.5.0.
License requirements: None.
PoleDisplayStyle¶
-
SessionModeling.
PoleDisplayStyle
¶ Returns or sets the style (3D ball, 2D disk, mark, etc.
) of the poles for display of B curves.
-------------------------------------
Getter Method
Signature
PoleDisplayStyle()
Returns: Return type: NXOpen.Preferences.SessionModelingPoleDisplayStyleType
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PoleDisplayStyle(poleDisplayStyle)
Parameters: poleDisplayStyle ( NXOpen.Preferences.SessionModelingPoleDisplayStyleType
) –New in version NX7.5.0.
License requirements: None.
PoleEditColor¶
-
SessionModeling.
PoleEditColor
¶ Returns or sets the color for editing poles for B curves and B surfaces.
-------------------------------------
Getter Method
Signature
PoleEditColor()
Returns: Return type: int New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PoleEditColor(poleEditColor)
Parameters: poleEditColor (int) – New in version NX3.0.0.
License requirements: None.
PoleEditInheritColor¶
-
SessionModeling.
PoleEditInheritColor
¶ Returns or sets the pole color inherit option, for editing B curves and B surfaces.
-------------------------------------
Getter Method
Signature
PoleEditInheritColor()
Returns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PoleEditInheritColor(poleEditInheritColor)
Parameters: poleEditInheritColor (bool) – New in version NX7.5.0.
License requirements: None.
PoleEditStyle¶
-
SessionModeling.
PoleEditStyle
¶ Returns or sets the style (3D ball, 2D disk, mark, etc.
) of the poles for editing B curves and B surfaces.
-------------------------------------
Getter Method
Signature
PoleEditStyle()
Returns: Return type: NXOpen.Preferences.SessionModelingPoleEditStyleType
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PoleEditStyle(poleEditStyle)
Parameters: poleEditStyle ( NXOpen.Preferences.SessionModelingPoleEditStyleType
) –New in version NX7.5.0.
License requirements: None.
PolylineDisplayColor¶
-
SessionModeling.
PolylineDisplayColor
¶ Returns or sets the color for display polylines for B curves and B surfaces
-------------------------------------
Getter Method
Signature
PolylineDisplayColor()
Returns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PolylineDisplayColor(polylineDisplayColor)
Parameters: polylineDisplayColor (int) – New in version NX7.5.0.
License requirements: None.
PolylineDisplayInheritColor¶
-
SessionModeling.
PolylineDisplayInheritColor
¶ Returns or sets the polyline color inherit option, for display with B curves and B surfaces.
-------------------------------------
Getter Method
Signature
PolylineDisplayInheritColor()
Returns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PolylineDisplayInheritColor(polylineDisplayInheritColor)
Parameters: polylineDisplayInheritColor (bool) – New in version NX7.5.0.
License requirements: None.
PolylineDisplayStyle¶
-
SessionModeling.
PolylineDisplayStyle
¶ Returns or sets the style (solid, dashed, etc.
) of the polylines display for B curves and B surfaces.
-------------------------------------
Getter Method
Signature
PolylineDisplayStyle()
Returns: Return type: NXOpen.Preferences.SessionModelingPolylineStyleType
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PolylineDisplayStyle(polylineDisplayStyle)
Parameters: polylineDisplayStyle ( NXOpen.Preferences.SessionModelingPolylineStyleType
) –New in version NX7.5.0.
License requirements: None.
PolylineEditColor¶
-
SessionModeling.
PolylineEditColor
¶ Returns or sets the color for editing polylines for B curves and B surfaces.
-------------------------------------
Getter Method
Signature
PolylineEditColor()
Returns: Return type: int New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PolylineEditColor(polylineEditColor)
Parameters: polylineEditColor (int) – New in version NX3.0.0.
License requirements: None.
PolylineEditInheritColor¶
-
SessionModeling.
PolylineEditInheritColor
¶ Returns or sets the polyline color inherit option, for editing B curves and B surfaces.
-------------------------------------
Getter Method
Signature
PolylineEditInheritColor()
Returns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PolylineEditInheritColor(polylineEditInheritColor)
Parameters: polylineEditInheritColor (bool) – New in version NX7.5.0.
License requirements: None.
PolylineEditStyle¶
-
SessionModeling.
PolylineEditStyle
¶ Returns or sets the style (solid, dashed, etc.
) of the polylines for editing B curves and B surfaces.
-------------------------------------
Getter Method
Signature
PolylineEditStyle()
Returns: Return type: NXOpen.Preferences.SessionModelingPolylineStyleType
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PolylineEditStyle(polylineEditStyle)
Parameters: polylineEditStyle ( NXOpen.Preferences.SessionModelingPolylineStyleType
) –New in version NX7.5.0.
License requirements: None.
PositionColor¶
-
SessionModeling.
PositionColor
¶ Returns or sets the position color
-------------------------------------
Getter Method
Signature
PositionColor()
Returns: Return type: int New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PositionColor(positionColor)
Parameters: positionColor (int) – New in version NX3.0.0.
License requirements: None.
PreviewResolution¶
-
SessionModeling.
PreviewResolution
¶ Returns or sets the preview resolution setting.
-------------------------------------
Getter Method
Signature
PreviewResolution()
Returns: Return type: NXOpen.Preferences.SessionModelingPreviewResolutionType
New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PreviewResolution(resolution)
Parameters: resolution ( NXOpen.Preferences.SessionModelingPreviewResolutionType
) –New in version NX4.0.0.
License requirements: None.
SaveDataForFeatureEdit¶
-
SessionModeling.
SaveDataForFeatureEdit
¶ Returns or sets the option “Save Data for Feature Edit” specifies what additional data will be saved in the part to enhance feature edit.
Rollback data improves feature edit performance. Previous state data is a copy of a face or body input to a feature for visual reference while editing a failed feature.
-------------------------------------
Getter Method
Signature
SaveDataForFeatureEdit()
Returns: preference to save data for feature edit Return type: NXOpen.Preferences.SessionModelingSaveDataForFeatureEditOption
New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SaveDataForFeatureEdit(saveDataForFeatureEdit)
Parameters: saveDataForFeatureEdit ( NXOpen.Preferences.SessionModelingSaveDataForFeatureEditOption
) – preference to save data for feature editNew in version NX10.0.0.
License requirements: None.
SaveRollbackData¶
-
SessionModeling.
SaveRollbackData
¶ Returns or sets the option ” Save Rollback Data ” saves extra data with the part file for faster edits.
This option has been deprecated. Use “Save Data for Feature Edit” instead of it.
-------------------------------------
Getter Method
Signature
SaveRollbackData()
Returns: preference to retain rollback data Return type: bool New in version NX5.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Preferences.SessionModeling.SaveDataForFeatureEdit
instead.License requirements: None.
-------------------------------------
Setter Method
Signature
SaveRollbackData(retainRollbackData)
Parameters: retainRollbackData (bool) – preference to retain rollback data New in version NX5.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Preferences.SessionModeling.SetSaveDataForFeatureEdit
instead.License requirements: None.
ShowSimuationUiInModeling¶
-
SessionModeling.
ShowSimuationUiInModeling
¶ Returns or sets the option to specify whether simulation specific UI should show up in modeling
-------------------------------------
Getter Method
Signature
ShowSimuationUiInModeling()
Returns: allow simulation specific UI in modeling Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ShowSimuationUiInModeling(showSimuationUiInModeling)
Parameters: showSimuationUiInModeling (bool) – allow simulation specific UI in modeling New in version NX7.5.0.
License requirements: None.
SketchDefaultAction¶
-
SessionModeling.
SketchDefaultAction
¶ Returns or sets the sketch default action
-------------------------------------
Getter Method
Signature
SketchDefaultAction()
Returns: default action on sketches Return type: NXOpen.Preferences.SessionModelingSketchDefaultActionType
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SketchDefaultAction(sketchAction)
Parameters: sketchAction ( NXOpen.Preferences.SessionModelingSketchDefaultActionType
) – default action on sketchesNew in version NX7.5.0.
License requirements: None.
SketchEditOption¶
-
SessionModeling.
SketchEditOption
¶ Returns or sets the option that determines whether or not task environment is used to edit the sketch
-------------------------------------
Getter Method
Signature
SketchEditOption()
Returns: edit option on sketches Return type: NXOpen.Preferences.SessionModelingSketchEditType
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SketchEditOption(sketchEditOption)
Parameters: sketchEditOption ( NXOpen.Preferences.SessionModelingSketchEditType
) – edit option on sketchesNew in version NX7.5.0.
License requirements: None.
SplineDefaultActionType¶
-
SessionModeling.
SplineDefaultActionType
¶ Returns or sets the value indicating the default action for a spline.
-------------------------------------
Getter Method
Signature
SplineDefaultActionType()
Returns: Return type: NXOpen.Preferences.SessionModelingSplineDefaultActionTypes
New in version NX7.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SplineDefaultActionType(action)
Parameters: action ( NXOpen.Preferences.SessionModelingSplineDefaultActionTypes
) –New in version NX7.0.0.
License requirements: None.
SurfaceExtension¶
-
SessionModeling.
SurfaceExtension
¶ Returns or sets the surface extension option.
Controls how surfaces will be extended while moving geometry
-------------------------------------
Getter Method
Signature
SurfaceExtension()
Returns: Surface extension option Return type: NXOpen.Preferences.SessionModelingSurfaceExtensionOption
New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SurfaceExtension(surfaceExtensionOption)
Parameters: surfaceExtensionOption ( NXOpen.Preferences.SessionModelingSurfaceExtensionOption
) – Surface extension optionNew in version NX9.0.0.
License requirements: None.
TangentColor¶
-
SessionModeling.
TangentColor
¶ Returns or sets the tangent color
-------------------------------------
Getter Method
Signature
TangentColor()
Returns: Return type: int New in version NX3.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TangentColor(tangentColor)
Parameters: tangentColor (int) – New in version NX3.0.0.
License requirements: None.
TreatOneDegreeBsplineAsPolyline¶
-
SessionModeling.
TreatOneDegreeBsplineAsPolyline
¶ Returns or sets the option to treat single degree bspline as polyline
-------------------------------------
Getter Method
Signature
TreatOneDegreeBsplineAsPolyline()
Returns: Flag if set to true will allow treatment of single degree bspline as polyline Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
TreatOneDegreeBsplineAsPolyline(preference)
Parameters: preference (bool) – Flag if set to true will allow treatment of single degree bspline as polyline New in version NX10.0.0.
License requirements: None.
UpdateDelayed¶
-
SessionModeling.
UpdateDelayed
¶ Returns or sets the update delayed option.
If the option is true, then an edited feature does not update until
NXOpen.Update.DoUpdate
is explicitly called. If the option is false, then the edited feature updates immediately. The default is false.-------------------------------------
Getter Method
Signature
UpdateDelayed()
Returns: Return type: bool New in version NX3.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)
-------------------------------------
Setter Method
Signature
UpdateDelayed(option)
Parameters: option (bool) – New in version NX3.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)
UpdateFailureReportPreference¶
-
SessionModeling.
UpdateFailureReportPreference
¶ Returns or sets the option “Update Failure Report” gives choice, whether the user wants the update failure report to be generated for the features that failed during current update cycle.
If the option is true then the update failure report will be launched at the end of every update cycle. It will list only those features that failed in that update cycle. If the option is false then no such report will be launched.
-------------------------------------
Getter Method
Signature
UpdateFailureReportPreference()
Returns: update failure report preference Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
UpdateFailureReportPreference(updateFailureReport)
Parameters: updateFailureReport (bool) – update failure report preference New in version NX5.0.0.
License requirements: None.
UpdatePending¶
-
SessionModeling.
UpdatePending
¶ Returns or sets the update pending option.
If the option only works when update delayed option is true, if the option is true, there is an edited feature to be updated till
NXOpen.Update.DoUpdate
is explicitly called. If the option is false, there is not an edited feature to be updated. The default is false.-------------------------------------
Getter Method
Signature
UpdatePending()
Returns: Return type: bool New in version NX9.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)
-------------------------------------
Setter Method
Signature
UpdatePending(option)
Parameters: option (bool) – New in version NX9.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)
UseTriangularMesh¶
-
SessionModeling.
UseTriangularMesh
¶ Returns or sets the use triangular mesh setting setting.
-------------------------------------
Getter Method
Signature
UseTriangularMesh()
Returns: Return type: bool New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
UseTriangularMesh(use)
Parameters: use (bool) – New in version NX4.0.0.
License requirements: None.