The AssemblyDisplayOptions object stores settings that specify how assemblies are to be displayed in a particular viewport. The AssemblyDisplayOptions object has no constructor. When you create a new viewport, the settings are copied from the current viewport.
import assembly session.viewports[name].assemblyDisplay session.viewports[name].layers[name].assemblyDisplay
This method modifies the AssemblyDisplayOptions object.
Required arguments
Optional arguments
A sequence of Strings specifying the names of the part instances that are visible in the viewport. The default value is an empty sequence.
A String specifying the step for which objects are to be displayed. Possible values are any valid step name. The default value is "Initial".
A SymbolicConstant specifying how the image in the viewport is rendered. Possible values are WIREFRAME, HIDDEN, SHADED, and FILLED. The default value is WIREFRAME.
A Boolean specifying whether the mesh is shown. The default value is OFF.
A Boolean specifying whether loads are shown. The default value is OFF.
A Boolean specifying whether boundary conditions are shown. The default value is OFF.
A Boolean specifying whether interactions are shown. The default value is OFF.
A Boolean specifying whether constraints are shown. The default value is OFF.
A Boolean specifying whether connectors are shown. The default value is OFF.
A Boolean specifying whether the connector end points are shown. This member is applicable only if connectors=ON. The default value is ON.
A Boolean specifying whether the connector local coordinate system axes are shown. This member is applicable only if connectors=ON. The default value is ON.
A Boolean specifying whether the connector section type labels are shown. This member is applicable only if connectors=ON. The default value is ON.
A Boolean specifying whether the tag information is displayed along with the connector section type labels. This member is applicable only if connectors=ON and if cnxTypeLabels=ON. The default value is OFF.
A Boolean specifying whether fields and initial conditions are shown. The default value is OFF.
A sequence of DisplayGroup objects specifying the DisplayGroups visible in the viewport. Currently the sequence can contain a maximum of one DisplayGroup object. The default value is an empty sequence.
A Boolean specifying whether to display engineering features. The default value is OFF.
A Boolean specifying whether to render the beam profiles. The default value is OFF.
A Float specifying the beam profile scale factor. The beamScaleFactor must be greater than zero. The default value is 1.0.
A Boolean specifying whether optimization tasks are shown. The default value is OFF.
A Boolean specifying whether geometric restrictions are shown. The default value is OFF.
A Boolean specifying whether stop conditions are shown. The default value is OFF.
Return value
Exceptions
RangeError.
The AssemblyDisplayOptions object can have the following members:
A Boolean specifying whether boundary conditions are shown. The default value is OFF.
A Boolean specifying whether connectors are shown. The default value is OFF.
A Boolean specifying whether the connector end points are shown. This member is applicable only if connectors=ON. The default value is ON.
A Boolean specifying whether the connector local coordinate system axes are shown. This member is applicable only if connectors=ON. The default value is ON.
A Boolean specifying whether the connector section type labels are shown. This member is applicable only if connectors=ON. The default value is ON.
A Boolean specifying whether the tag information is displayed along with the connector section type labels. This member is applicable only if connectors=ON and if cnxTypeLabels=ON. The default value is OFF.
A Boolean specifying whether constraints are shown. The default value is OFF.
A Boolean specifying whether to display engineering features. The default value is OFF.
A Boolean specifying whether geometric restrictions are shown. The default value is OFF.
A Boolean specifying whether to render the beam profiles. The default value is OFF.
A Float specifying the beam profile scale factor. The beamScaleFactor must be greater than zero. The default value is 1.0.
A Boolean specifying whether fields and initial conditions are shown. The default value is OFF.
A Boolean specifying whether interactions are shown. The default value is OFF.
A Boolean specifying whether loads are shown. The default value is OFF.
A Boolean specifying whether the mesh is shown. The default value is OFF.
A Boolean specifying whether optimization tasks are shown. The default value is OFF.
A Boolean specifying whether stop conditions are shown. The default value is OFF.
A SymbolicConstant specifying how the image in the viewport is rendered. Possible values are WIREFRAME, HIDDEN, SHADED, and FILLED. The default value is WIREFRAME.
A BCDisplayOptions object.
A ConstraintDisplayOptions object.
A DisplayGroup object specifying the current display group and referring to an object in the displayGroups member of Session.
A repository of DisplayGroupInstance objects.
An EngineeringFeatureDisplayOptions object.
A PredefinedFieldDisplayOptions object.
A GeometricRestrictionDisplayOptions object.
A GeometryDisplayOptions object.
An InteractionDisplayOptions object.
A LoadDisplayOptions object.
A MeshDisplayOptions object.
An OptimizationTaskDisplayOptions object.
A StopConditionDisplayOptions object.
A SymbolDisplayOptions object.
A tuple of Strings specifying the names of the part instances that are visible in the viewport. The default value is an empty sequence.
A String specifying the step for which objects are to be displayed. Possible values are any valid step name. The default value is "Initial".