ViewDependentDisplayManager Class

class NXOpen.ViewDependentDisplayManager

Bases: object

Represents all view dependent display operations

To obtain an instance of this class, refer to NXOpen.View

New in version NX5.0.0.

Methods

Method Description
ApplySegmentEdit Applies a wireframe edit to specified objects in a view.
ApplyShadeEdit Applies a shading edit to specified faces and/or bodies in a view.
ApplyWireframeEdit Applies a wireframe edit to specified objects in a view.
Erase Erases specified objects in a view.
MoveToModel Moves view objects to model.
MoveToView Moves model objects to view.
RemoveAllEdits Removes all edits and erasures from all objects in a view.
RemoveEdit Removes edits from specified objects in a view.
RemoveErasure Removes erasures from specified objects in a view.
SetBackground Sets visibility of background objects.

Enumerations

ViewDependentDisplayManagerFont Enumeration specifies the font for wireframe edits
ViewDependentDisplayManagerPartialShading Enumeration specifies the partial shading options for shading edits
ViewDependentDisplayManagerTranslucency Enumeration specifies the translucency options for shading edits
ViewDependentDisplayManagerWidth Enumeration specifies the width for wireframe edits

Method Detail

ApplySegmentEdit

ViewDependentDisplayManager.ApplySegmentEdit

Overloaded method ApplySegmentEdit

  • ApplySegmentEdit(object, color, font, width, segmentStart, segmentEnd)
  • ApplySegmentEdit(object, font, width, segmentStart, segmentEnd)

-------------------------------------

Applies a wireframe edit to specified objects in a view.

Signature ApplySegmentEdit(object, color, font, width, segmentStart, segmentEnd)

Parameters:

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Applies a wireframe edit to specified objects in a view when the color is the original color

Signature ApplySegmentEdit(object, font, width, segmentStart, segmentEnd)

Parameters:

New in version NX6.0.3.

License requirements: None.

-------------------------------------

ApplyShadeEdit

ViewDependentDisplayManager.ApplyShadeEdit

Overloaded method ApplyShadeEdit

  • ApplyShadeEdit(shadeColor, partialShading, translucencyOption, translucencyScale, objects)
  • ApplyShadeEdit(partialShading, translucencyOption, translucencyScale, objects)

-------------------------------------

Applies a shading edit to specified faces and/or bodies in a view.

Signature ApplyShadeEdit(shadeColor, partialShading, translucencyOption, translucencyScale, objects)

Parameters:

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Applies a shading edit to specified faces and/or bodies in a view when shade color is original color

Signature ApplyShadeEdit(partialShading, translucencyOption, translucencyScale, objects)

Parameters:

New in version NX6.0.3.

License requirements: None.

-------------------------------------

ApplyWireframeEdit

ViewDependentDisplayManager.ApplyWireframeEdit

Overloaded method ApplyWireframeEdit

  • ApplyWireframeEdit(color, font, width, objects)
  • ApplyWireframeEdit(font, width, objects)

-------------------------------------

Applies a wireframe edit to specified objects in a view.

Signature ApplyWireframeEdit(color, font, width, objects)

Parameters:

New in version NX5.0.0.

License requirements: None.

-------------------------------------

Applies a wireframe edit to specified objects in a view when the color is the original color

Signature ApplyWireframeEdit(font, width, objects)

Parameters:

New in version NX6.0.3.

License requirements: None.

-------------------------------------

Erase

ViewDependentDisplayManager.Erase

Erases specified objects in a view.

Signature Erase(objects)

Parameters:objects (list of NXOpen.DisplayableObject) –

New in version NX5.0.0.

License requirements: None.

MoveToModel

ViewDependentDisplayManager.MoveToModel

Moves view objects to model.

Signature MoveToModel(objects)

Parameters:objects (list of NXOpen.DisplayableObject) –

New in version NX5.0.0.

License requirements: None.

MoveToView

ViewDependentDisplayManager.MoveToView

Moves model objects to view.

Signature MoveToView(objects)

Parameters:objects (list of NXOpen.DisplayableObject) –

New in version NX5.0.0.

License requirements: None.

RemoveAllEdits

ViewDependentDisplayManager.RemoveAllEdits

Removes all edits and erasures from all objects in a view.

Signature RemoveAllEdits()

New in version NX5.0.0.

License requirements: None.

RemoveEdit

ViewDependentDisplayManager.RemoveEdit

Removes edits from specified objects in a view.

Signature RemoveEdit(objects)

Parameters:objects (list of NXOpen.DisplayableObject) –

New in version NX5.0.0.

License requirements: None.

RemoveErasure

ViewDependentDisplayManager.RemoveErasure

Removes erasures from specified objects in a view.

Signature RemoveErasure(objects)

Parameters:objects (list of NXOpen.DisplayableObject) –

New in version NX5.0.0.

License requirements: None.

SetBackground

ViewDependentDisplayManager.SetBackground

Sets visibility of background objects.

Signature SetBackground(objects)

Parameters:objects (list of NXOpen.DisplayableObject) –

New in version NX5.0.0.

License requirements: None.