Display Group#

Display group commands are used to select a subset of the entities displayed in the viewport.

Create display groups#

class DisplayGroupSession[source]#

Methods

DisplayGroup(name, leaf)

This method creates a DisplayGroup object.

DisplayGroup(name: str, leaf: Leaf) DisplayGroup[source]#

This method creates a DisplayGroup object.

Parameters:
name

A String specifying the repository key.

leaf

A Leaf object specifying the items in the display group.

Returns:
A DisplayGroup object.

Notes

This function can be accessed by:

session.DisplayGroup

Object features#

DisplayGroup#

class DisplayGroup(name: str, leaf: Leaf)[source]#

DisplayGroup objects are used to select a subset of the entities displayed in the viewport.

Notes

This object can be accessed by:

session.displayGroups[name]
import assembly
session.viewports[name].assemblyDisplay.displayGroup
session.viewports[name].layers[name].assemblyDisplay.displayGroup
import visualization
session.viewports[name].layers[name].odbDisplay.displayGroup
import part
session.viewports[name].layers[name].partDisplay.displayGroup
session.viewports[name].odbDisplay.displayGroup
session.viewports[name].partDisplay.displayGroup
Attributes:
canUndo: Boolean

A Boolean specifying whether Undo is possible or not.

canRedo: Boolean

A Boolean specifying whether Redo is possible or not.

name: str

A String specifying the repository key.

module: SymbolicConstant

A SymbolicConstant specifying the module in which the display group has been created. The possible values are PART, ASSEMBLY, PART_ASSEMBLY, ODB, and ALL.

modelName: str

A String specifying the name of the model to which the display group belongs when the module is part- or assembly-based.

partName: str

A String specifying the name of the part to which the display group belongs when the module is part-based.

Methods

add(leaf)

This method adds the specified items to the display group.

either(leaf)

This method redefines the display group to be only those items that are not shared by the leaf argument and by the display group.

intersect(leaf)

This method redefines the display group to be only those items that are shared by the leaf argument and the display group.

redoLast()

This method redoes the last undone operation on the display group.

remove(leaf)

This method removes the specified items from the display group.

replace(leaf)

This method replaces the contents of the display group with the specified items.

undoLast()

This method undoes the last operation performed on the display group.

add(leaf: Leaf)[source]#

This method adds the specified items to the display group.

Parameters:
leaf

A Leaf object specifying the items to add to the display group.

either(leaf: Leaf)[source]#

This method redefines the display group to be only those items that are not shared by the leaf argument and by the display group.

Parameters:
leaf

A Leaf object specifying the items to be excluded from the display group.

intersect(leaf: Leaf)[source]#

This method redefines the display group to be only those items that are shared by the leaf argument and the display group.

Parameters:
leaf

A Leaf object specifying the items to be included in the display group.

redoLast()[source]#

This method redoes the last undone operation on the display group.

remove(leaf: Leaf)[source]#

This method removes the specified items from the display group.

Parameters:
leaf

A Leaf object specifying the items to remove from the display group.

replace(leaf: Leaf)[source]#

This method replaces the contents of the display group with the specified items.

Parameters:
leaf

A Leaf object specifying the items with which to replace the current display group contents.

undoLast()[source]#

This method undoes the last operation performed on the display group.

DisplayGroupArray#

class DisplayGroupArray(iterable=(), /)[source]#

Methods

findAt

DisplayGroupInstance#

class DisplayGroupInstance[source]#

A DisplayGroupInstance object stores the IDs of the entities displayed in a viewport. The DisplayGroupInstance object has no constructor. When you set a display group to be plotted in a viewport, Abaqus/CAE creates a DisplayGroupInstance object for each display group and places it in the DisplayGroupInstanceRepository object.

Notes

This object can be accessed by:

import assembly
session.viewports[name].assemblyDisplay.displayGroupInstances[name]
session.viewports[name].layers[name].assemblyDisplay.displayGroupInstances[name]
import visualization
session.viewports[name].layers[name].odbDisplay.displayGroupInstances[name]
import part
session.viewports[name].layers[name].partDisplay.displayGroupInstances[name]
session.viewports[name].odbDisplay.displayGroupInstances[name]
session.viewports[name].partDisplay.displayGroupInstances[name]
Attributes:
name: str

A String specifying the repository key.

lockOptions: Boolean

A Boolean specifying whether the display options stored on the DisplayGroupInstance object should be synchronized with changes to the viewport display options. This member is available only for DisplayGroupInstance objects that are members of the DisplayGroupInstance repository member of the OdbDisplay object. The default value is OFF.

odbDisplayOptions: OdbDisplayOptions

An OdbDisplay`Options object specifying this member is available only for DisplayGroupInstance objects that are members of the DisplayGroupInstance repository member of the OdbDisplay object.

Methods

elements()

This method returns the list of elements present in the DisplayGroupInstance object.

nodes()

This method is used to obtain the list of nodes present in the DisplayGroupInstance object.

setValues([lockOptions])

This method modifies the DisplayGroupInstance object.

elements()[source]#

This method returns the list of elements present in the DisplayGroupInstance object. The elements method returns a Dictionary object that uses part instance names for the keys. The value of the items in the Dictionary object is a List of user element labels that belong to the part instance and are contained in the DisplayGroupInstance object. This method is available only for DisplayGroupInstance objects that are members of the DisplayGroupInstance repository member of the OdbDisplay object.

Returns:
A Dictionary object.
nodes()[source]#

This method is used to obtain the list of nodes present in the DisplayGroupInstance object. It returns a Dictionary object keyed by part instance names, the value of which is a list of user node labels belonging to the part instance and contained in the DisplayGroupInstance object. This method is available only for DisplayGroupInstance objects that are members of the DisplayGroupInstance repository member of OdbDisplay object.

Returns:
A Dictionary object.
setValues(lockOptions: BooleanType = 0)[source]#

This method modifies the DisplayGroupInstance object. The setValues method is available only for DisplayGroupInstance objects that are members of the DisplayGroupInstance repository member of the OdbDisplay object.

Parameters:
lockOptions

A Boolean specifying whether the display options stored on the DisplayGroupInstance object should be synchronized with changes to the viewport display options. This member is available only for DisplayGroupInstance objects that are members of the DisplayGroupInstance repository member of the OdbDisplay object. The default value is OFF.

DisplayGroupInstanceRepository#

class DisplayGroupInstanceRepository[source]#

The DisplayGroupInstanceRepository object stores DisplayGroupInstance objects. In addition to all the standard Python repository methods, the DisplayGroupInstance repository defines additional methods as described below.

Notes

This object can be accessed by:

import visualization
session.viewports[name].layers[name].odbDisplay.displayGroupInstances
session.viewports[name].odbDisplay.displayGroupInstances

Methods

syncOptions(name[, updateInstances])

This method synchronizes the display options stored on the OdbDisplay object with the display options stored on the DisplayGroupInstance object.

syncOptions(name: str, updateInstances: BooleanType = 1)[source]#

This method synchronizes the display options stored on the OdbDisplay object with the display options stored on the DisplayGroupInstance object.

Parameters:
name

A String specifying the repository key.

updateInstances

A Boolean specifying whether to synchronize the display options on all the DisplayGroupInstance objects stored in the DisplayGroupInstanceRepository for which lockOptions is OFF. The default value of updateInstances is ON.

Leaf#

class Leaf(leafType: SymbolicConstantType)[source]#

Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. Leaf objects have similarities to Set objects; however, Leaf objects are evaluated when the DisplayGroup expression is evaluated, and they can have SymbolicConstant values (which are also evaluated when the DisplayGroup expression is evaluated).

Notes

This object can be accessed by:

import displayGroupMdbToolset
import displayGroupOdbToolset

LeafFromConstraintNames#

class LeafFromConstraintNames(name: tuple, type: SymbolicConstantType)[source]#

The LeafFromConstraintNames object can be used whenever a Leaf object is expected as an argument. A Leaf object is used used to specify the items in a display group. Leaf objects are constructed as temporary objects that are used as arguments to DisplayGroup (DisplayGroup object) commands. The LeafFromConstraintNames object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupOdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are TIE, SHELL_TO_SOLID_COUPLING, DISTRIBUTING_COUPLING, KINEMATIC_COUPLING, RIGID_BODY, and MPC.

LeafFromDatums#

class LeafFromDatums(datumSeq: tuple[Datum])[source]#

The LeafFromDatums object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromDatums object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupMdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromDisplayGroup#

class LeafFromDisplayGroup(displayGroup: DisplayGroupArray)[source]#

The LeafFromDisplayGroup object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands.The LeafFromDisplayGroup object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupMdbToolset
import displayGroupOdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromElementLabels#

class LeafFromElementLabels(partInstanceName: str, elementLabels: tuple)[source]#

The LeafFromElementLabels object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromElementLabels object is derived from the Leaf object. This page discusses:

Notes

This object can be accessed by:

import displayGroupOdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromElementSets#

class LeafFromElementSets(elementSets: tuple)[source]#

The LeafFromElementSets object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromElementSets object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupOdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromElementVarRange#

class LeafFromElementVarRange(minimumRange: float | None = None, maximumRange: float = 3, insideRange: BooleanType = 1)[source]#

The LeafFromElementVarRange object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromElementVarRange object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupOdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromGeometry#

class LeafFromGeometry(edgeSeq: tuple = (), faceSeq: tuple = (), cellSeq: tuple = ())[source]#

The LeafFromGeometry object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromGeometry object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupMdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromInstance#

class LeafFromInstance(instances: PartInstance)[source]#

The LeafFromInstance object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromInstance object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupMdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromInstanceElementLabels#

class LeafFromInstanceElementLabels(elementLabels: tuple)[source]#

The LeafFromInstanceElementLabels object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromInstanceElementLabels object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupMdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromInstanceNodeLabels#

class LeafFromInstanceNodeLabels(nodeLabels: tuple)[source]#

The LeafFromInstanceNodeLabels object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromInstanceNodeLabels object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupMdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromMeshElementLabels#

class LeafFromMeshElementLabels(elementSeq: tuple[MeshElement])[source]#

The LeafFromMeshElementLabels object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromMeshElementLabels object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupMdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromMeshNodeLabels#

class LeafFromMeshNodeLabels(nodeSeq: tuple[MeshNode])[source]#

The LeafFromMeshNodeLabels object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromMeshNodeLabels object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupMdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromMeshSurfaceSets#

class LeafFromMeshSurfaceSets(surfaceSets: tuple[Surface])[source]#

The LeafFromMeshSurfaceSets object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromMeshSurfaceSets object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupMdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromModelElemLabels#

class LeafFromModelElemLabels(elementLabels: tuple)[source]#

The LeafFromModelElemLabels object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromModelElemLabels object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupOdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromModelNodeLabels#

class LeafFromModelNodeLabels(nodeLabels: tuple)[source]#

The LeafFromModelNodeLabels object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromModelNodeLabels object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupOdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromNodeLabels#

class LeafFromNodeLabels(partInstanceName: str, nodeLabels: tuple)[source]#

The LeafFromNodeLabels object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromNodeLabels object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupOdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromNodeSets#

class LeafFromNodeSets(nodeSets: tuple)[source]#

The LeafFromNodeSets object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromNodeSets object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupOdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromNodeVarRange#

class LeafFromNodeVarRange(minimumRange: float | None = None, maximumRange: float = 3, insideRange: BooleanType = 1)[source]#

The LeafFromNodeVarRange object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromNodeVarRange object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupOdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromOdbEdgePick#

class LeafFromOdbEdgePick(edgePick: tuple)[source]#

The LeafFromOdbEdgePick object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromOdbEdgePick object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupOdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromOdbElementLayups#

class LeafFromOdbElementLayups(elementLayups: tuple)[source]#

The LeafFromOdbElementLayups object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromOdbElementLayups object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupOdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromOdbElementMaterials#

class LeafFromOdbElementMaterials(elementMaterials: tuple)[source]#

The LeafFromOdbElementMaterials object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromOdbElementMaterials object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupOdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromOdbElementPick#

class LeafFromOdbElementPick(elementPick: tuple)[source]#

The LeafFromOdbElementPick object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromOdbElementPick object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupOdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromOdbElementPlies#

class LeafFromOdbElementPlies(elementPlies: tuple)[source]#

The LeafFromOdbElementPlies object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromOdbElementPlies object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupOdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromOdbElementSections#

class LeafFromOdbElementSections(elementSections: tuple)[source]#

The LeafFromOdbElementSections object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromOdbElementSections object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupOdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromOdbElementTypes#

class LeafFromOdbElementTypes(elementTypes: tuple)[source]#

The LeafFromOdbElementTypes object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromOdbElementTypes object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupOdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromOdbNodePick#

class LeafFromOdbNodePick(nodePick: tuple)[source]#

The LeafFromOdbNodePick object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromOdbNodePick object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupOdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromPartElementLabels#

class LeafFromPartElementLabels(part: Part, elementLabels: tuple)[source]#

The LeafFromPartElementLabels object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromPartElementLabels object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupMdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromPartInstance#

class LeafFromPartInstance(partInstanceName: tuple)[source]#

The LeafFromPartInstance object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromPartInstance object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupOdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromPartNodeLabels#

class LeafFromPartNodeLabels(part: Part, nodeLabels: tuple)[source]#

The LeafFromPartNodeLabels object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromPartNodeLabels object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupMdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromReferencePoint#

class LeafFromReferencePoint(refPtSeq: tuple)[source]#

The LeafFromReferencePoint object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromReferencePoint object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupMdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromSets#

class LeafFromSets(sets: tuple[Set])[source]#

The LeafFromSets object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromSets object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupMdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromSurfaceSets#

class LeafFromSurfaceSets(surfaceSets: tuple)[source]#

The LeafFromSurfaceSets object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromSurfaceSets object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupOdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.

LeafFromSurfaceVarRange#

class LeafFromSurfaceVarRange(minimumRange: float | None = None, maximumRange: float = 3, insideRange: BooleanType = 1)[source]#

The LeafFromSurfaceVarRange object can be used whenever a Leaf object is expected as an argument. Leaf objects are used to specify the items in a display group. Leaf objects are constructed as temporary objects, which are then used as arguments to DisplayGroup commands. The LeafFromSurfaceVarRange object is derived from the Leaf object.

Notes

This object can be accessed by:

import displayGroupOdbToolset
Attributes:
leafType: SymbolicConstant

A SymbolicConstant specifying the leaf type. Possible values are EMPTY_LEAF, DEFAULT_MODEL, ALL_ELEMENTS, ALL_NODES, and ALL_SURFACES.