Display Options¶
Display options commands are used to store settings that specify how assemblies and parts are to be displayed and how annotations are to be rendered in a particular viewport.
Other Classes¶
- class AssemblyDisplayOptions[源代码]¶
基类:
object
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.
备注
This object can be accessed by:
import assembly session.viewports[name].assemblyDisplay session.viewports[name].layers[name].assemblyDisplay
Member Details:
-
bcOptions : --is-rst--:py:class:`~abaqus.DisplayOptions.BCDisplayOptions.BCDisplayOptions` =
<abaqus.DisplayOptions.BCDisplayOptions.BCDisplayOptions object>
[源代码]¶ A BCDisplayOptions object.
-
bcs : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether boundary conditions are shown. The default value is OFF.
-
beamScaleFactor : --is-rst--:py:class:`float` =
1
[源代码]¶ A Float specifying the beam profile scale factor. The beamScaleFactor must be greater than zero. The default value is 1.0.
-
cnxEndPoints : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether the connector end points are shown. This member is applicable only if connectors = ON. The default value is ON.
-
cnxLocalAxes : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ 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.
-
cnxTagDisplay : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ 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.
-
cnxTypeLabels : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether the connector section type labels are shown. This member is applicable only if connectors = ON. The default value is ON.
-
connectors : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether connectors are shown. The default value is OFF.
-
constraintOptions : --is-rst--:py:class:`~abaqus.DisplayOptions.ConstraintDisplayOptions.ConstraintDisplayOptions` =
<abaqus.DisplayOptions.ConstraintDisplayOptions.ConstraintDisplayOptions object>
[源代码]¶ A ConstraintDisplayOptions object.
-
constraints : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether constraints are shown. The default value is OFF.
-
displayGroup : --is-rst--:py:class:`~abaqus.DisplayGroup.DisplayGroup.DisplayGroup` =
<abaqus.DisplayGroup.DisplayGroup.DisplayGroup object>
[源代码]¶ A DisplayGroup object specifying the current display group and referring to an object in the displayGroups member of Session.
-
displayGroupInstances : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.DisplayGroup.DisplayGroupInstance.DisplayGroupInstance`] =
{}
[源代码]¶ A repository of DisplayGroupInstance objects.
-
engineeringFeatureOptions : --is-rst--:py:class:`~abaqus.DisplayOptions.EngineeringFeatureDisplayOptions.EngineeringFeatureDisplayOptions` =
<abaqus.DisplayOptions.EngineeringFeatureDisplayOptions.EngineeringFeatureDisplayOptions object>
[源代码]¶ An EngineeringFeatureDisplayOptions object.
-
engineeringFeatures : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to display engineering features. The default value is OFF.
-
geometricRestrictionOptions : --is-rst--:py:class:`~abaqus.DisplayOptions.GeometricRestrictionDisplayOptions.GeometricRestrictionDisplayOptions` =
<abaqus.DisplayOptions.GeometricRestrictionDisplayOptions.GeometricRestrictionDisplayOptions object>
[源代码]¶ A GeometricRestrictionDisplayOptions object.
-
geometricRestrictions : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether geometric restrictions are shown. The default value is OFF.
-
geometryOptions : --is-rst--:py:class:`~abaqus.DisplayOptions.GeometryDisplayOptions.GeometryDisplayOptions` =
<abaqus.DisplayOptions.GeometryDisplayOptions.GeometryDisplayOptions object>
[源代码]¶ A GeometryDisplayOptions object.
-
interactionOptions : --is-rst--:py:class:`~abaqus.DisplayOptions.InteractionDisplayOptions.InteractionDisplayOptions` =
<abaqus.DisplayOptions.InteractionDisplayOptions.InteractionDisplayOptions object>
[源代码]¶ An InteractionDisplayOptions object.
-
interactions : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether interactions are shown. The default value is OFF.
-
loadOptions : --is-rst--:py:class:`~abaqus.DisplayOptions.LoadDisplayOptions.LoadDisplayOptions` =
<abaqus.DisplayOptions.LoadDisplayOptions.LoadDisplayOptions object>
[源代码]¶ A LoadDisplayOptions object.
-
loads : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether loads are shown. The default value is OFF.
-
mesh : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether the mesh is shown. The default value is OFF.
-
meshOptions : --is-rst--:py:class:`~abaqus.DisplayOptions.MeshDisplayOptions.MeshDisplayOptions` =
<abaqus.DisplayOptions.MeshDisplayOptions.MeshDisplayOptions object>
[源代码]¶ A MeshDisplayOptions object.
-
optimizationTaskOptions : --is-rst--:py:class:`~abaqus.DisplayOptions.OptimizationTaskDisplayOptions.OptimizationTaskDisplayOptions` =
<abaqus.DisplayOptions.OptimizationTaskDisplayOptions.OptimizationTaskDisplayOptions object>
[源代码]¶ An OptimizationTaskDisplayOptions object.
-
optimizationTasks : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether optimization tasks are shown. The default value is OFF.
-
predefinedFieldOptions : --is-rst--:py:class:`~abaqus.DisplayOptions.PredefinedFieldDisplayOptions.PredefinedFieldDisplayOptions` =
<abaqus.DisplayOptions.PredefinedFieldDisplayOptions.PredefinedFieldDisplayOptions object>
[源代码]¶ A PredefinedFieldDisplayOptions object.
-
predefinedFields : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether fields and initial conditions are shown. The default value is OFF.
-
renderBeamProfiles : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to render the beam profiles. The default value is OFF.
-
renderStyle : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'WIREFRAME'
[源代码]¶ A SymbolicConstant specifying how the image in the viewport is rendered. Possible values are WIREFRAME, HIDDEN, SHADED, and FILLED. The default value is WIREFRAME.
- setValues(
- visibleInstances=
()
, - step=
''
, - renderStyle=
WIREFRAME
, - mesh=
0
, - loads=
0
, - bcs=
0
, - interactions=
0
, - constraints=
0
, - connectors=
0
, - cnxEndPoints=
1
, - cnxLocalAxes=
1
, - cnxTypeLabels=
1
, - cnxTagDisplay=
0
, - predefinedFields=
0
, - visibleDisplayGroups=
()
, - engineeringFeatures=
0
, - renderBeamProfiles=
0
, - beamScaleFactor=
1
, - optimizationTasks=
0
, - geometricRestrictions=
0
, - stopConditions=
0
, This method modifies the AssemblyDisplayOptions object.
- 参数:¶
- visibleInstances=
()
¶ A sequence of Strings specifying the names of the part instances that are visible in the viewport. The default value is an empty sequence.
- step=
''
¶ A String specifying the step for which objects are to be displayed. Possible values are any valid step name. The default value is "Initial".
- renderStyle=
WIREFRAME
¶ A SymbolicConstant specifying how the image in the viewport is rendered. Possible values are WIREFRAME, HIDDEN, SHADED, and FILLED. The default value is WIREFRAME.
- mesh=
0
¶ A Boolean specifying whether the mesh is shown. The default value is OFF.
- loads=
0
¶ A Boolean specifying whether loads are shown. The default value is OFF.
- bcs=
0
¶ A Boolean specifying whether boundary conditions are shown. The default value is OFF.
- interactions=
0
¶ A Boolean specifying whether interactions are shown. The default value is OFF.
- constraints=
0
¶ A Boolean specifying whether constraints are shown. The default value is OFF.
- connectors=
0
¶ A Boolean specifying whether connectors are shown. The default value is OFF.
- cnxEndPoints=
1
¶ A Boolean specifying whether the connector end points are shown. This member is applicable only if connectors = ON. The default value is ON.
- cnxLocalAxes=
1
¶ 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.
- cnxTypeLabels=
1
¶ A Boolean specifying whether the connector section type labels are shown. This member is applicable only if connectors = ON. The default value is ON.
- cnxTagDisplay=
0
¶ 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.
- predefinedFields=
0
¶ A Boolean specifying whether fields and initial conditions are shown. The default value is OFF.
- visibleDisplayGroups=
()
¶ 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.
- engineeringFeatures=
0
¶ A Boolean specifying whether to display engineering features. The default value is OFF.
- renderBeamProfiles=
0
¶ A Boolean specifying whether to render the beam profiles. The default value is OFF.
- beamScaleFactor=
1
¶ A Float specifying the beam profile scale factor. The beamScaleFactor must be greater than zero. The default value is 1.0.
- optimizationTasks=
0
¶ A Boolean specifying whether optimization tasks are shown. The default value is OFF.
- geometricRestrictions=
0
¶ A Boolean specifying whether geometric restrictions are shown. The default value is OFF.
- stopConditions=
0
¶ A Boolean specifying whether stop conditions are shown. The default value is OFF.
- visibleInstances=
- 抛出:¶
RangeError --
-
step : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the step for which objects are to be displayed. Possible values are any valid step name. The default value is "Initial".
-
stopConditionOptions : --is-rst--:py:class:`~abaqus.DisplayOptions.StopConditionDisplayOptions.StopConditionDisplayOptions` =
<abaqus.DisplayOptions.StopConditionDisplayOptions.StopConditionDisplayOptions object>
[源代码]¶ A StopConditionDisplayOptions object.
-
stopConditions : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether stop conditions are shown. The default value is OFF.
-
bcOptions : --is-rst--:py:class:`~abaqus.DisplayOptions.BCDisplayOptions.BCDisplayOptions` =
- class BCDisplayOptions[源代码]¶
基类:
object
The BCDisplayOptions object stores settings that specify how assemblies are to be displayed in a particular viewport when session.viewports[name].assemblyDisplay.bcs=ON The BCDisplayOptions object has no constructor. When you create a new viewport, the settings are copied from the current viewport.
备注
This object can be accessed by:
session.viewports[name].assemblyDisplay.bcOptions session.viewports[name].layers[name].assemblyDisplay.bcOptions
备注
Member Details:
- setValues(
- displacement=
1
, - velocity=
1
, - acceleration=
1
, - symmetry=
1
, - antiSymmetry=
1
, - temperature=
1
, - porePressure=
1
, - fluidCavityPressure=
1
, - acousticPressure=
1
, - electricPotential=
1
, - concentration=
1
, - encastre=
1
, - pinned=
1
, This method modifies the BCDisplayOptions object.
- 参数:¶
- displacement=
1
¶ A Boolean specifying whether displacement symbols are shown. The default value is ON.
- velocity=
1
¶ A Boolean specifying whether velocity symbols are shown. The default value is ON.
- acceleration=
1
¶ A Boolean specifying whether acceleration symbols are shown. The default value is ON.
- symmetry=
1
¶ A Boolean specifying whether symmetry symbols are shown. The default value is ON.
- antiSymmetry=
1
¶ A Boolean specifying whether anti- symmetry symbols are shown. The default value is ON.
- temperature=
1
¶ A Boolean specifying whether temperature symbols are shown. The default value is ON.
- porePressure=
1
¶ A Boolean specifying whether pore pressure symbols are shown. The default value is ON.
- fluidCavityPressure=
1
¶ A Boolean specifying whether fluid cavity pressure symbols are shown. The default value is ON.
- acousticPressure=
1
¶ A Boolean specifying whether acoustic pressure symbols are shown. The default value is ON.
- electricPotential=
1
¶ A Boolean specifying whether electric potential symbols are shown. The default value is ON.
- concentration=
1
¶ A Boolean specifying whether concentration mass diffusion symbols are shown. The default value is ON.
- encastre=
1
¶ A Boolean specifying whether encastre symbols are shown. The default value is ON.
- pinned=
1
¶ A Boolean specifying whether pinned symbols are shown. The default value is ON.
- displacement=
- class ConstraintDisplayOptions[源代码]¶
基类:
object
The ConstraintDisplayOptions object stores settings that specify how assemblies are to be displayed in a particular viewport when session.viewports[name].assemblyDisplay.constraints=ON The ConstraintDisplayOptions object has no constructor. When you create a new viewport, the settings are copied from the current viewport.
备注
This object can be accessed by:
session.viewports[name].assemblyDisplay.constraintOptions session.viewports[name].layers[name].assemblyDisplay.constraintOptions
Member Details:
- setValues(
- constraintEquation=
1
, - tieConstraint=
1
, - rigidBodyConstraint=
1
, - displayBodyConstraint=
1
, - couplingConstrain=
1
, This method modifies the ConstraintDisplayOptions object.
- 参数:¶
- constraintEquation=
1
¶ A Boolean specifying whether constraint equation symbols are shown. The default value is ON.
- tieConstraint=
1
¶ A Boolean specifying whether tie constraint symbols are shown. The default value is ON.
- rigidBodyConstraint=
1
¶ A Boolean specifying whether rigid body constraint symbols are shown. The default value is ON.
- displayBodyConstraint=
1
¶ A Boolean specifying whether display body constraint symbols are shown. The default value is ON.
- couplingConstrain=
1
¶ A Boolean specifying whether coupling constraint symbols are shown. The default value is ON.
- constraintEquation=
- class EngineeringFeatureDisplayOptions[源代码]¶
基类:
object
The EngineeringFeatureDisplayOptions object stores settings that specify how assemblies are to be displayed in a particular viewport when session.viewports[name].assemblyDisplay.engineeringFeatures=ON The EngineeringFeatureDisplayOptions object has no constructor. When you create a new viewport, the settings are copied from the current viewport.
备注
This object can be accessed by:
session.viewports[name].assemblyDisplay.engineeringFeatureOptions session.viewports[name].layers[name].assemblyDisplay.engineeringFeatureOptions import part session.viewports[name].layers[name].partDisplay.engineeringFeatureOptions session.viewports[name].partDisplay.engineeringFeatureOptions
Member Details:
- setValues(
- pointMassInertia=
1
, - nonstructuralMass=
1
, - heatCapacitance=
1
, - contourIntegral=
1
, - springToGround=
1
, - twoPointSpring=
1
, This method modifies the EngineeringFeatureDisplayOptions object.
- 参数:¶
- pointMassInertia=
1
¶ A Boolean specifying whether point mass inertia symbols are shown. The default value is ON.
- nonstructuralMass=
1
¶ A Boolean specifying whether nonstructural mass symbols are shown. The default value is ON.
- heatCapacitance=
1
¶ A Boolean specifying whether heat capacitance symbols are shown. The default value is ON.
- contourIntegral=
1
¶ A Boolean specifying whether contour integral symbols are shown. The default value is ON.
- springToGround=
1
¶ A Boolean specifying whether spring-to-ground symbols are shown. The default value is ON.
- twoPointSpring=
1
¶ A Boolean specifying whether two-point spring symbols are shown. The default value is ON.
- pointMassInertia=
- 抛出:¶
RangeError --
- class GeometricRestrictionDisplayOptions[源代码]¶
基类:
object
The GeometricRestrictionDisplayOptions object stores settings that specify how assemblies are to be displayed in a particular viewport when session.viewports[name].assemblyDisplay.geometricRestrictions=ON The GeometricRestrictionDisplayOptions object has no constructor. When you create a new viewport, the settings are copied from the current viewport.
备注
This object can be accessed by:
session.viewports[name].assemblyDisplay.geometricRestrictionOptions session.viewports[name].layers[name].assemblyDisplay.geometricRestrictionOptions
Member Details:
- setValues(
- drillControl=
1
, - fixedRegion=
1
, - frozenArea=
1
, - growth=
1
, - penetrationCheck=
1
, - shapeDemoldControl=
1
, - designDirection=
1
, - shapeMemberSize=
1
, - shapePlanarSymmetry=
1
, - shapePointSymmetry=
1
, - shapeRotationalSymmetry=
1
, - stampControl=
1
, - slideRegionControl=
1
, - topologyCyclicSymmetry=
1
, - topologyDemoldControl=
1
, - topologyMemberSize=
1
, - topologyPlanarSymmetry=
1
, - topologyPointSymmetry=
1
, - topologyRotationalSymmetry=
1
, - turnControl=
1
, This method modifies the GeometricRestrictionDisplayOptions object.
- 参数:¶
- drillControl=
1
¶ A Boolean specifying whether drill control geometric restriction symbols are shown. The default value is ON.
- fixedRegion=
1
¶ A Boolean specifying whether fixed region geometric restriction symbols are shown. The default value is ON.
- frozenArea=
1
¶ A Boolean specifying whether frozen area geometric restriction symbols are shown. The default value is ON.
- growth=
1
¶ A Boolean specifying whether growth geometric restriction symbols are shown. The default value is ON.
- penetrationCheck=
1
¶ A Boolean specifying whether penetration check geometric restriction symbols are shown. The default value is ON.
- shapeDemoldControl=
1
¶ A Boolean specifying whether demold control (shape) geometric restriction symbols are shown. The default value is ON.
- designDirection=
1
¶ A Boolean specifying whether design direction geometric restriction symbols are shown. The default value is ON.
- shapeMemberSize=
1
¶ A Boolean specifying whether member size (shape) geometric restriction symbols are shown. The default value is ON.
- shapePlanarSymmetry=
1
¶ A Boolean specifying whether planar symmetry (shape) geometric restriction symbols are shown. The default value is ON.
- shapePointSymmetry=
1
¶ A Boolean specifying whether point symmetry (shape) geometric restriction symbols are shown. The default value is ON.
- shapeRotationalSymmetry=
1
¶ A Boolean specifying whether rotational symmetry (shape) geometric restriction symbols are shown. The default value is ON.
- stampControl=
1
¶ A Boolean specifying whether stamp control geometric restriction symbols are shown. The default value is ON.
- slideRegionControl=
1
¶ A Boolean specifying whether slide region control geometric restriction symbols are shown. The default value is ON.
- topologyCyclicSymmetry=
1
¶ A Boolean specifying whether cyclic symmetry geometric restriction symbols are shown. The default value is ON.
- topologyDemoldControl=
1
¶ A Boolean specifying whether demold control (topology) geometric restriction symbols are shown. The default value is ON.
- topologyMemberSize=
1
¶ A Boolean specifying whether member size (topology) geometric restriction symbols are shown. The default value is ON.
- topologyPlanarSymmetry=
1
¶ A Boolean specifying whether planar symmetry (topology) geometric restriction symbols are shown. The default value is ON.
- topologyPointSymmetry=
1
¶ A Boolean specifying whether point symmetry (topology) geometric restriction symbols are shown. The default value is ON.
- topologyRotationalSymmetry=
1
¶ A Boolean specifying whether rotational symmetry (topology) geometric restriction symbols are shown. The default value is ON.
- turnControl=
1
¶ A Boolean specifying whether turn control geometric restriction symbols are shown. The default value is ON.
- drillControl=
- 抛出:¶
RangeError --
- class GeometryDisplayOptions[源代码]¶
基类:
object
The GeometryDisplayOptions object stores settings that specify how assemblies are to be displayed in a particular viewport. The GeometryDisplayOptions object has no constructor. When you create a new viewport, the settings are copied from the current viewport.
备注
This object can be accessed by:
session.viewports[name].assemblyDisplay.geometryOptions session.viewports[name].layers[name].assemblyDisplay.geometryOptions session.viewports[name].layers[name].partDisplay.geometryOptions session.viewports[name].partDisplay.geometryOptions
Member Details:
- setValues(
- geometryEdgesInShaded=
1
, - geometryHiddenEdges=
0
, - geometrySilhouetteEdges=
1
, - datumAxes=
1
, - datumCoordSystems=
1
, - datumPlanes=
1
, - referencePointLabels=
1
, - referencePointSymbols=
1
, - referenceRepresentation=
0
, - referenceRepTranslucency=
1
, This method modifies the GeometryDisplayOptions object.
- 参数:¶
- geometryEdgesInShaded=
1
¶ A Boolean specifying whether geometry edges are displayed in shaded mode. The default value is ON.
- geometryHiddenEdges=
0
¶ A Boolean specifying whether geometry hidden edges are displayed (dotted) in hidden line mode. The default value is OFF.
- geometrySilhouetteEdges=
1
¶ A Boolean specifying whether geometry silhouette edges are displayed. The default value is ON.
- datumAxes=
1
¶ A Boolean specifying whether datum axes are shown. The default value is ON.
- datumCoordSystems=
1
¶ A Boolean specifying whether datum coordinate systems are shown. The default value is ON.
- datumPlanes=
1
¶ A Boolean specifying whether datum planes are shown. The default value is ON.
- referencePointLabels=
1
¶ A Boolean specifying whether referencePoint labels are shown. The default value is ON.
- referencePointSymbols=
1
¶ A Boolean specifying whether referencePoint symbols are shown. The default value is ON.
- referenceRepresentation=
0
¶ A Boolean specifying whether geometry that belongs to the reference representation of the Part or Instance is shown. The default value is OFF.
- referenceRepTranslucency=
1
¶ A Boolean specifying whether to apply translucency to the geometry that belongs to the reference representation of the Part or Instance. The default value is ON.
- geometryEdgesInShaded=
- 抛出:¶
RangeError --
- class InteractionDisplayOptions[源代码]¶
基类:
object
The InteractionDisplayOptions object stores settings that specify how assemblies are to be displayed in a particular viewport when session.viewports[name].assemblyDisplay.interactions=ON The InteractionDisplayOptions object has no constructor. When you create a new viewport, the settings are copied from the current viewport.
备注
This object can be accessed by:
session.viewports[name].assemblyDisplay.interactionOptions session.viewports[name].layers[name].assemblyDisplay.interactionOptions
Member Details:
- setValues(
- surfaceContact=
1
, - selfContact=
1
, - elasticFoundation=
1
, - actuatorSensor=
1
, - radiationAmbient=
1
, - filmCondition=
1
, - concentratedRadiationToAmbient=
1
, - concentratedFilmCondition=
1
, This method modifies the InteractionDisplayOptions object.
- 参数:¶
- surfaceContact=
1
¶ A Boolean specifying whether surface contact symbols are shown. The default value is ON.
- selfContact=
1
¶ A Boolean specifying whether self contact symbols are shown. The default value is ON.
- elasticFoundation=
1
¶ A Boolean specifying whether elastic foundation symbols are shown. The default value is ON.
- actuatorSensor=
1
¶ A Boolean specifying whether actuator/sensor symbols are shown. The default value is ON.
- radiationAmbient=
1
¶ A Boolean specifying whether surface radiation-to-ambient symbols are shown. The default value is ON.
- filmCondition=
1
¶ A Boolean specifying whether surface film condition symbols are shown. The default value is ON.
- concentratedRadiationToAmbient=
1
¶ A Boolean specifying whether concentrated radiation-to-ambient symbols are shown. The default value is ON.
- concentratedFilmCondition=
1
¶ A Boolean specifying whether concentrated film condition symbols are shown. The default value is ON.
- surfaceContact=
- 抛出:¶
RangeError --
- class LoadDisplayOptions[源代码]¶
基类:
object
The LoadDisplayOptions object stores settings that specify how assemblies are to be displayed in a particular viewport when session.viewports[name].assemblyDisplay.loads=ON The LoadDisplayOptions object has no constructor. When you create a new viewport, the settings are copied from the current viewport.
备注
This object can be accessed by:
session.viewports[name].assemblyDisplay.loadOptions session.viewports[name].layers[name].assemblyDisplay.loadOptions
备注
Member Details:
- setValues(
- concentratedForce=
1
, - moment=
1
, - pressure=
1
, - pipePressure=
1
, - bodyForce=
1
, - lineLoad=
1
, - gravity=
1
, - boltLoad=
1
, - pegLoad=
1
, - connectorForce=
1
, - connectorMoment=
1
, - inertiaRelief=
1
, - rotationalIntertiaLoad=
1
, - coriolisForce=
1
, - bodyHeatFlux=
1
, - surfaceHeatFlux=
1
, - concentratedHeatFlux=
1
, - concentratedPoreFluid=
1
, - surfacePoreFluid=
1
, - hydroFluidFlow=
1
, - concentratedCharge=
1
, - concentratedCurrent=
1
, - surfaceCharge=
1
, - surfaceCurrent=
1
, - bodyCharge=
1
, - bodyCurrent=
1
, - inwardVolAccel=
1
, - bodyConcentrationFlux=
1
, - surfaceConcentrationFlux=
1
, - concentratedConcentrationFlux=
1
, This method modifies the LoadDisplayOptions object.
- 参数:¶
- concentratedForce=
1
¶ A Boolean specifying whether concentrated force symbols are shown. The default value is ON.
- moment=
1
¶ A Boolean specifying whether moment symbols are shown. The default value is ON.
- pressure=
1
¶ A Boolean specifying whether pressure symbols are shown. The default value is ON.
- pipePressure=
1
¶ A Boolean specifying whether pipe pressure symbols are shown. The default value is ON.
- bodyForce=
1
¶ A Boolean specifying whether body force symbols are shown. The default value is ON.
- lineLoad=
1
¶ A Boolean specifying whether line load symbols are shown. The default value is ON.
- gravity=
1
¶ A Boolean specifying whether gravity symbols are shown. The default value is ON.
- boltLoad=
1
¶ A Boolean specifying whether bolt load symbols are shown. The default value is ON.
- pegLoad=
1
¶ A Boolean specifying whether PEG load symbols are shown. The default value is ON.
- connectorForce=
1
¶ A Boolean specifying whether connector force symbols are shown. The default value is ON.
- connectorMoment=
1
¶ A Boolean specifying whether connector moment symbols are shown. The default value is ON.
- inertiaRelief=
1
¶ A Boolean specifying whether inertia relief symbols are shown. The default value is ON.
- rotationalIntertiaLoad=
1
¶ A Boolean specifying whether rotational inertia load symbols are shown. The default value is ON.
- coriolisForce=
1
¶ A Boolean specifying whether coriolis force symbols are shown. The default value is ON.
- bodyHeatFlux=
1
¶ A Boolean specifying whether body heat flux symbols are shown. The default value is ON.
- surfaceHeatFlux=
1
¶ A Boolean specifying whether surface heat flux symbols are shown. The default value is ON.
- concentratedHeatFlux=
1
¶ A Boolean specifying whether concentrated heat flux symbols are shown. The default value is ON.
- concentratedPoreFluid=
1
¶ A Boolean specifying whether concentrated pore fluid symbols are shown. The default value is ON.
- surfacePoreFluid=
1
¶ A Boolean specifying whether surface pore fluid symbols are shown. The default value is ON.
- hydroFluidFlow=
1
¶ A Boolean specifying whether hydro fluid flow symbols are shown. The default value is ON.
- concentratedCharge=
1
¶ A Boolean specifying whether concentrated charge symbols are shown. The default value is ON.
- concentratedCurrent=
1
¶ A Boolean specifying whether concentrated current symbols are shown. The default value is ON.
- surfaceCharge=
1
¶ A Boolean specifying whether surface charge symbols are shown. The default value is ON.
- surfaceCurrent=
1
¶ A Boolean specifying whether surface current symbols are shown. The default value is ON.
- bodyCharge=
1
¶ A Boolean specifying whether body charge symbols are shown. The default value is ON.
- bodyCurrent=
1
¶ A Boolean specifying whether body current symbols are shown. The default value is ON.
- inwardVolAccel=
1
¶ A Boolean specifying whether inward volume acceleration symbols are shown. The default value is ON.
- bodyConcentrationFlux=
1
¶ A Boolean specifying whether body concentration flux symbols are shown. The default value is ON.
- surfaceConcentrationFlux=
1
¶ A Boolean specifying whether surface concentration flux symbols are shown. The default value is ON.
- concentratedConcentrationFlux=
1
¶ A Boolean specifying whether concentrated concentration flux symbols are shown. The default value is ON.
- concentratedForce=
- 抛出:¶
RangeError --
- class MeshDisplayOptions[源代码]¶
基类:
object
The MeshDisplayOptions object stores settings that specify how the assembly is displayed in a particular viewport when session.viewports[name].assemblyDisplay.mesh=ON The MeshDisplayOptions object has no constructor. When you create a new viewport, the settings are copied from the current viewport.
备注
This object can be accessed by:
session.viewports[name].assemblyDisplay.meshOptions session.viewports[name].layers[name].assemblyDisplay.meshOptions session.viewports[name].layers[name].partDisplay.meshOptions session.viewports[name].partDisplay.meshOptions
备注
Member Details:
- setValues(
- nodeLabels=
0
, - elementLabels=
0
, - meshVisibleEdges=
EXTERIOR
, - featureAngle=
20
, - meshEdgesInShaded=
1
, - meshTechnique=
0
, - seeds=
0
, This method modifies the MeshDisplayOptions object.
- 参数:¶
- nodeLabels=
0
¶ A Boolean specifying whether node labels are shown. The default value is OFF.
- elementLabels=
0
¶ A Boolean specifying whether element labels are shown. The default value is OFF.
- meshVisibleEdges=
EXTERIOR
¶ A SymbolicConstant specifying how the mesh's edges are drawn. Possible values are:
ALL, specifying that all edges are shown.
EXTERIOR, specifying that only exterior edges are shown.
FEATURE, specifying that edges are shown based on featureAngle.
FREE, specifying that only free edges are shown.
NONE, specifying that no display edges are shown.
The default value is EXTERIOR.
- featureAngle=
20
¶ A Float specifying the angle in degrees to be used in calculating a feature edge plot. Possible values are 0 ≤ featureAngle ≤ 90. The default value is 20.0.
- meshEdgesInShaded=
1
¶ A Boolean specifying whether mesh edges are displayed in shaded mode. The default value is ON.
- meshTechnique=
0
¶ A Boolean specifying whether the regions of the assembly will be color coded based on the meshing technique assigned to the regions. This argument is ignored in partDisplay. The default value is OFF.
- seeds=
0
¶ A Boolean specifying whether seeds are shown. This argument is ignored in partDisplay. The default value is OFF.
- nodeLabels=
- 抛出:¶
RangeError --
- class OptimizationTaskDisplayOptions[源代码]¶
基类:
object
The OptimizationTaskDisplayOptions object stores settings that specify how assemblies are to be displayed in a particular viewport when session.viewports[name].assemblyDisplay.optimizationTasks=ON The OptimizationTaskDisplayOptions object has no constructor. When you create a new viewport, the settings are copied from the current viewport.
备注
This object can be accessed by:
session.viewports[name].assemblyDisplay.optimizationTaskOptions session.viewports[name].layers[name].assemblyDisplay.optimizationTaskOptions
Member Details:
-
setValues(topologyTask=
1
, shapeTask=1
)[源代码]¶ This method modifies the OptimizationTaskDisplayOptions object.
-
setValues(topologyTask=
- class PredefinedFieldDisplayOptions[源代码]¶
基类:
object
The PredefinedFieldDisplayOptions object stores settings that specify how assemblies are to be displayed in a particular viewport when session.viewports[name].assemblyDisplay.predefinedFields=ON The PredefinedFieldDisplayOptions object has no constructor. When you create a new viewport, the settings are copied from the current viewport.
备注
This object can be accessed by:
session.viewports[name].assemblyDisplay.predefinedFieldOptions session.viewports[name].layers[name].assemblyDisplay.predefinedFieldOptions
Member Details:
- setValues(
- temperatureField=
1
, - velocityField=
1
, - generalField=
1
, - stressField=
1
, - hardeningField=
1
, This method modifies the PredefinedFieldDisplayOptions object.
- 参数:¶
- temperatureField=
1
¶ A Boolean specifying whether temperature field symbols are shown. The default value is ON.
- velocityField=
1
¶ A Boolean specifying whether translational velocity symbols are shown. The default value is ON.
- generalField=
1
¶ A Boolean specifying whether general field symbols are shown. The default value is ON.
- stressField=
1
¶ A Boolean specifying whether stress field symbols are shown. The default value is ON.
- hardeningField=
1
¶ A Boolean specifying whether hardening field symbols are shown. The default value is ON.
- temperatureField=
- 抛出:¶
RangeError --
- class StopConditionDisplayOptions[源代码]¶
基类:
object
The StopConditionDisplayOptions object stores settings that specify how assemblies are to be displayed in a particular viewport when session.viewports[name].assemblyDisplay.stopConditions=ON The StopConditionDisplayOptions object has no constructor. When you create a new viewport, the settings are copied from the current viewport.
备注
This object can be accessed by:
session.viewports[name].assemblyDisplay.stopConditionOptions session.viewports[name].layers[name].assemblyDisplay.stopConditionOptions
Member Details:
- class SymbolDisplayOptions[源代码]¶
基类:
object
The SymbolDisplayOptions object stores settings that specify how the assembly is displayed in a particular viewport. The SymbolDisplayOptions object has no constructor. When you create a new viewport, the settings are copied from the current viewport.
备注
This object can be accessed by:
session.viewports[name].assemblyDisplay.symbolOptions session.viewports[name].layers[name].assemblyDisplay.symbolOptions
Member Details:
- setValues(
- otherSymbolSize=
12
, - arrowSymbolSize=
12
, - faceSymbolDensity=
5
, - edgeSymbolDensity=
5
, - meshSymbolFraction=
1
, - showFields=
1
, This method modifies the SymbolDisplayOptions object.
- 参数:¶
- otherSymbolSize=
12
¶ An Int specifying the size of the scalar attribute symbols. Possible values are 1 ≤ scalarSymbolSize ≤ 30. The default value is 12.
- arrowSymbolSize=
12
¶ An Int specifying the size of the vector and tensor attribute symbols. Possible values are 1 ≤ vectorSymbolSize ≤ 30. The default value is 12.
- faceSymbolDensity=
5
¶ An Int specifying the relative density of the attribute symbols drawn on geometric faces. Possible values are 1 ≤ faceSymbolDensity ≤ 10. The default value is 5.
- edgeSymbolDensity=
5
¶ An Int specifying the relative density of the attribute symbols drawn on geometric edges. Possible values are 1 ≤ edgeSymbolDensity ≤ 10. The default value is 5.
- meshSymbolFraction=
1
¶ A Float specifying the fraction of the attribute symbols drawn on orphan mesh regions. Possible values are 0.0 ≤ meshSymbolFraction ≤ 1.0. The default value is 1.0.
- showFields=
1
¶ A Boolean specifying whether symbols should be scaled based on analytical field value. The default value is ON.
- otherSymbolSize=
- class GraphicsInfo[源代码]¶
基类:
object
The GraphicsInfo object stores information about the graphics adapter installed in your system. The GraphicsInfo object has no constructor or methods; Abaqus creates the GraphicsInfo member when a session is started. If you execute Abaqus/CAE on a remote system and display the main window locally, the glx server is your local machine and the glx client is the remote machine. This definition of client and server follows the X11 naming convention. If you execute and display Abaqus/CAE on the same machine, you will typically see identical values for both the name of the server and the name of the client. The members are all read-only.
备注
This object can be accessed by:
session.graphicsInfo
备注
Member Details:
-
glRenderer : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the name of the rendering device or the name of the software graphics library.
-
glVendor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the graphics adapter vendor. On hardware accelerated systems glVendor specifies the vendor that manufactured the adapter. On systems without hardware acceleration glVendor specifies the developer of the software graphics library.
-
glVersion : --is-rst--:py:class:`tuple` =
()
[源代码]¶ A sequence of the type (Int, Int, String) specifying the three components of the OpenGL version. The sequence consists of an Int with the OpenGL major version number, an Int with the OpenGL minor version number, and a String with any additional information.
-
glxClientVendor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the glx developer on the client side.
-
glxClientVersion : --is-rst--:py:class:`tuple` =
()
[源代码]¶ A sequence of the type (Int, Int, String) specifying the three components of the of glx version of the client. The sequence consists of an Int with the glx major version number, an Int with the glx minor version number, and String with any additional information.
-
glxServerVendor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the glx developer on the server side.
-
glxServerVersion : --is-rst--:py:class:`tuple` =
()
[源代码]¶ A sequence of the type (Int, Int, String) specifying the three components of the glx version of the server. The sequence consists of an Int with the glx major version number, an Int with the glx minor version number, and a String with any additional information.
-
glRenderer : --is-rst--:py:class:`str` =
- class GraphicsOptions[源代码]¶
基类:
object
The GraphicsOptions object stores settings that control how objects are rendered in all.
viewports. GraphicsOptions objects are accessed in one of two ways: - The default graphics options. These settings are used as defaults when you start a session and by the Defaults button on the Graphics ConstrainedSketchOptions dialog box. - The current graphics options. The GraphicsOptions object has no constructor; Abaqus creates both the defaultGraphicsOptions and the graphicsOptions members when a session is started. When you start a session, Abaqus detects the graphics hardware installed on your system and uses the setValues method in the environment file (abaqus_v6.env ) to modify the members of the GraphicsOptions object. If your graphics hardware is not supported by Abaqus/CAE, or if you wish to override the default graphics options, you can modify settings in the environment file. For more information, see Tuning graphics cards.
备注
This object can be accessed by:
session.defaultGraphicsOptions session.graphicsOptions
备注
Member Details:
-
accelerateOffScreen : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether the hardware accelerated graphics driver will be used for off-screen rendering. The default value is ON if graphics hardware acceleration is available and has not been disabled via the hardwareAcceleration option, and the graphics driver supports the underlying technology. When set to OFF, an alternate (slower) technique will be used to create off-screen images. Off-screen rendering is used for Printing, Probe, and backing store (viewport refresh). Setting this value to OFF will force printed images to be rendered without hardware acceleration. This is useful when writing automated tests to produce raster images that you will want to compare across multiple machines that may have different graphics environments.
-
antiAlias : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether lines will be smoothed to reduce the jagged effect of rasterization. The default value is ON.
-
autoFitAfterRotate : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether the model is automatically resized to fit the viewport after each view rotation. The default value is OFF.
-
backfaceCulling : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether facets that are determined to be facing away from the viewer will be drawn. The default value is ON. backfaceCulling provides a performance enhancement when displaying solid elements where the front side of the element occludes the back side of the element. Set backfaceCulling = OFF if it appears that you are seeing the back side of an element and the front side is missing. You should also set backfaceCulling = OFF if you believe the display is not complete.
-
backgroundBottomColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying one of the two background colors for all viewport windows. This color is used only if backgroundStyle =GRADIENT. The initial color is black. A list of valid color strings is in the colors map in the Session object.
-
backgroundColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying one of the two background colors for all viewport windows. The initial color is black. A list of valid color strings is in the colors map in the Session object.
-
backgroundOverride : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether a viewport background style of GRADIENT can be overridden when displaying certain objects, such as sketches or XY plots. When overridden, the background will be the top color of the gradient background.
-
backgroundStyle : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'SOLID'
[源代码]¶ A SymbolicConstant specifying the background style to be used for all viewport windows. Possible values are SOLID and GRADIENT. The default value is SOLID.If backgroundStyle = SOLID, the viewport background will appear as a solid color as specified by backgroundColor. If backgroundStyle = GRADIENT, the viewport background will be drawn as a gradient beginning with the backgroundColor at the top of the viewport and gradually blending to the backgroundBottomColor at the bottom of the viewport.
-
backingStore : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether a backing store will be used to refresh a viewport after a window occluding the viewport is moved or dismissed. The default value is ON.
-
contourRangeTexturePrecision : --is-rst--:py:class:`float` =
0
[源代码]¶ A Float specifying a tolerance used when computing the appropriate scale for transforming result (contour) values to texture values. When set too low the 'out of range' colors may be incorrectly shown for values near the range limits. The default value is 0.5x10⁻⁵.
-
directRendering : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying how Abaqus renders X11 graphics operations. When directRendering = OFF, the graphics are rendered through the X Server. When directRendering = ON, the graphics operations are sent directly to the graphics adapter producing faster displays. For maximum performance, the initial value is ON. This argument is used only when you first start Abaqus/CAE; you cannot configure directRendering during a session.
-
displayLists : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether a display list will be used to accelerate graphics performance. The default value is ON.When displayLists = ON, drawing operations are recorded in a list that can be quickly replayed. This results in faster drawing on most systems but requires extra memory to record the drawing operations. In the Visualization module, display lists are only used during view manipulations and then their use is subject to the setting of viewManipDisplayListThreshold.
-
doubleBuffering : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether double buffering is used. The default value is ON.Double buffering controls where Abaqus/CAE draws its graphics. When doubleBuffering = OFF, everything is drawn directly to the screen and on many systems you can see the progress of the drawing operations. Most users find this distracting, especially in dynamic situations such as view manipulation or animation of results. When doubleBuffering = ON, the drawing occurs in a separate graphics buffer that is displayed when all the drawing operations are complete. This results in a much smoother display during view changes or animation. It is recommended that you set double buffering to ON.
-
dragMode : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'AS_IS'
[源代码]¶ A SymbolicConstant specifying which rendering is used during dynamic rotations of the view. Possible values are:FAST, specifying a rendering mode where the image is rendered in wireframe.AS_IS, specifying a rendering mode where the image is rendered as is.The default value is AS_IS.When set to dragMode = FAST, a wireframe outline is drawn during view changes by rotation, pan, or zoom. When dragMode = AS_IS, everything displayed in the window will be drawn during view changes; however, the display may lag behind the mouse movement when the model is complex especially if you are using an older or slower system. For newer systems with graphics hardware acceleration the AS_IS setting can be accommodated without significant loss of performance.
- graphicsDriver : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]¶
A SymbolicConstant specifying the graphics driver to use. Abaqus/CAE currently uses OpenGL exclusively so the only possible value is OPEN_GL. OPEN_GL takes advantage of graphics adapter hardware acceleration.
-
hardwareAcceleration : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether a hardware accelerated OpenGL graphics driver will be used on Windows platforms. The default value is ON.When hardwareAcceleration = OFF, the graphics driver uses a software implementation of OpenGL that is included with the operating system. This results in slower drawing on most systems; however, you may have to use the software implementation of OpenGL if the hardware graphics driver is incompatible with Abaqus/CAE. hardwareAcceleration is used only when you first start Abaqus/CAE on a Windows platform; you cannot configure hardwareAcceleration during a session. hardwareAcceleration is not used when you start Abaqus/CAE on an X-Windows platform and display to a Windows platform running Exceed or any other X-Windows server.
-
hardwareOverlay : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether hardware overlay planes will be used if available. The default value is the same value as the hardwareOverlayAvailable member.When hardwareOverlayAvailable = OFF, it will not be possible to set hardwareOverlay to ON and the HARDWARE_OVERLAY highlight method will not be available. If viewports display a solid color and will not display the model, it will be necessary to inhibit hardware overlay completely by setting the ABAQUS_EMULATE_OVERLAYS environment variable (to any value) before starting Abaqus/CAE. hardwareOverlay is used only when you first start Abaqus/CAE; you cannot configure hardwareOverlay during a session.
-
hardwareOverlayAvailable : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying if the graphics hardware supports hardware overlay.
- highlightMethod : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`[源代码]¶
A SymbolicConstant specifying the highlight method. For the GraphicsOptions object, possible values of the member are HARDWARE_OVERLAY, XOR, SOFTWARE_OVERLAY, and BLEND.
-
highlightMethodHint : --is-rst--:py:class:`tuple`\ \[:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant`, :py:data:`...<Ellipsis>`] =
(HARDWARE_OVERLAY, XOR, SOFTWARE_OVERLAY, BLEND)
[源代码]¶ A tuple of SymbolicConstants specifying a hint used to modify the highlight method. Possible values are:HARDWARE_OVERLAY, specifying a hint of hardware overlay. The best graphics performance is achieved using hardware overlay, but not all systems and graphics adapters support hardware overlay.XOR, specifying a hint of XOR technique. The XOR technique uses a boolean pixel operation to simulate the drawing operations but can produce different colors depending on the color of the underlying pixels.SOFTWARE_OVERLAY, specifying a hint of software overlay. The software overlay method simulates the effect of hardware overlay.BLEND, specifying a hint of blend method. The blend method combines the color of the underlying pixel with the desired color producing an approximation of the transient graphics.The default value is (HARDWARE_OVERLAY, XOR, SOFTWARE_OVERLAY, BLEND).The values of this sequence are applied by Abaqus when you start a session in first to last order. The first successful value becomes the default highlight method. Not all graphics adapters support the HARDWARE_OVERLAY value and you must use the highlightMethodHint argument to provide an alternative.You can use a single value to set the first element of the list, or you can use a tuple with one to four unique values. Abaqus sets any remaining elements of the tuple to unique values based on the default order.
-
options : --is-rst--:py:class:`str` | :py:obj:`None` =
None
[源代码]¶ None or a GraphicsOptions object specifying the object from which values are to be copied. If other arguments are also supplied to setValues, they will override the values in the options member. The default value is None.
-
polygonOffsetConstant : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the offset added when drawing the faces of a polygon. The polygonOffsetConstant argument affects the behavior of only the OpenGL driver. Possible values are 0.0 ≤ polygonOffsetConstant ≤ 100.0. The default value is platform dependent and is typically between 0.0 and 2.0.
-
polygonOffsetSlope : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the factor that multiplies the slope of each line before the line is added to the vertexes of a polygon face. The polygonOffsetSlope argument affects the behavior of only the OpenGL driver. Possible values are 0.0 ≤ polygonOffsetSlope ≤ 100.0. The default value is platform dependent and is typically between 0.0 and 2.0.
-
printPolygonOffsetConstant : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the offset added when drawing the faces of a polygon. printPolygonOffsetConstant is similar to polygonOffsetConstant; however, printPolygonOffsetConstant is used when printing and polygonOffsetConstant is used for display. Some systems, especially Windows, use different OpenGL drivers for printing and display, and you may have to use different offset values for each driver.
-
printPolygonOffsetSlope : --is-rst--:py:class:`float` | :py:obj:`None` =
None
[源代码]¶ A Float specifying the factor that multiplies the slope of each line before the line is added to the vertexes of a polygon face. printPolygonOffsetSlope is similar to polygonOffsetSlope; however, printPolygonOffsetSlope is used when printing and polygonOffsetSlope is used for display. Some systems, especially Windows, use different OpenGL drivers for printing and display, and you may have to use different offset values for each driver.
-
printTextureMapping : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether textures will be used to display contour plots. The default value is ON.Turning off texture mapping for printing is necessary only if printed output does not correctly display a contour plot of your model. printTextureMapping is similar to textureMapping; however, printTextureMapping is used when printing and textureMapping is used for display. Some systems, especially Windows, use different OpenGL drivers for printing and display, and you may have to use different settings for each driver.
- setValues(
- graphicsDriver=
None
, - doubleBuffering=
1
, - displayLists=
1
, - highlightMethodHint=
(HARDWARE_OVERLAY, XOR, SOFTWARE_OVERLAY, BLEND)
, - dragMode=
AS_IS
, - antiAlias=
1
, - autoFitAfterRotate=
0
, - polygonOffsetConstant=
None
, - polygonOffsetSlope=
None
, - printPolygonOffsetConstant=
None
, - printPolygonOffsetSlope=
None
, - vertexArrays=
1
, - vertexArraysInDisplayLists=
1
, - viewManipDisplayListThreshold=
40
, - directRendering=
0
, - hardwareAcceleration=
1
, - hardwareOverlay=
0
, - textureMapping=
1
, - printTextureMapping=
1
, - backgroundStyle=
SOLID
, - backgroundColor=
''
, - backgroundBottomColor=
''
, - backgroundOverride=
0
, - backfaceCulling=
1
, - accelerateOffScreen=
0
, - backingStore=
1
, - shadersAvailable=
0
, - translucencyMode=
4
, - options=
None
, - contourRangeTexturePrecision=
0
, This method modifies the GraphicsOptions object.
- 参数:¶
- graphicsDriver=
None
¶ A SymbolicConstant specifying the graphics driver to use. Abaqus/CAE currently uses OpenGL exclusively so the only possible value is OPEN_GL. OPEN_GL takes advantage of graphics adapter hardware acceleration.
- doubleBuffering=
1
¶ A Boolean specifying whether double buffering is used. The default value is ON.Double buffering controls where Abaqus/CAE draws its graphics. When doubleBuffering = OFF, everything is drawn directly to the screen and on many systems you can see the progress of the drawing operations. Most users find this distracting, especially in dynamic situations such as view manipulation or animation of results. When doubleBuffering = ON, the drawing occurs in a separate graphics buffer that is displayed when all the drawing operations are complete. This results in a much smoother display during view changes or animation. It is recommended that you set double buffering to ON.
- displayLists=
1
¶ A Boolean specifying whether a display list will be used to accelerate graphics performance. The default value is ON.When displayLists = ON, drawing operations are recorded in a list that can be quickly replayed. This results in faster drawing on most systems but requires extra memory to record the drawing operations. In the Visualization module, display lists are only used during view manipulations and then their use is subject to the setting of viewManipDisplayListThreshold.
- highlightMethodHint=
(HARDWARE_OVERLAY, XOR, SOFTWARE_OVERLAY, BLEND)
¶ A sequence of SymbolicConstants specifying a hint used to modify the highlight method. Possible values are: HARDWARE_OVERLAY, specifying a hint of hardware overlay. The best graphics performance is achieved using hardware overlay, but not all systems and graphics adapters support hardware overlay.XOR, specifying a hint of XOR technique. The XOR technique uses a boolean pixel operation to simulate the drawing operations but can produce different colors depending on the color of the underlying pixels.SOFTWARE_OVERLAY, specifying a hint of software overlay. The software overlay method simulates the effect of hardware overlay.BLEND, specifying a hint of blend method. The blend method combines the color of the underlying pixel with the desired color producing an approximation of the transient graphics.The default value is (HARDWARE_OVERLAY, XOR, SOFTWARE_OVERLAY, BLEND).The values of this sequence are applied by Abaqus when you start a session in first to last order. The first successful value becomes the default highlight method. Not all graphics adapters support the HARDWARE_OVERLAY value and you must use the highlightMethodHint argument to provide an alternative.You can use a single value to set the first element of the list, or you can use a tuple with one to four unique values. Abaqus sets any remaining elements of the tuple to unique values based on the default order.
- dragMode=
AS_IS
¶ A SymbolicConstant specifying which rendering is used during dynamic rotations of the view. Possible values are:FAST, specifying a rendering mode where the image is rendered in wireframe.AS_IS, specifying a rendering mode where the image is rendered as is.The default value is AS_IS.When set to dragMode = FAST, a wireframe outline is drawn during view changes by rotation, pan, or zoom. When dragMode = AS_IS, everything displayed in the window will be drawn during view changes; however, the display may lag behind the mouse movement when the model is complex especially if you are using an older or slower system. For newer systems with graphics hardware acceleration the AS_IS setting can be accommodated without significant loss of performance.
- antiAlias=
1
¶ A Boolean specifying whether lines will be smoothed to reduce the jagged effect of rasterization. The default value is ON.
- autoFitAfterRotate=
0
¶ A Boolean specifying whether the model is automatically resized to fit the viewport after each view rotation. The default value is OFF.
- polygonOffsetConstant=
None
¶ A Float specifying the offset added when drawing the faces of a polygon. The polygonOffsetConstant argument affects the behavior of only the OpenGL driver. Possible values are 0.0 ≤ polygonOffsetConstant ≤ 100.0. The default value is platform dependent and is typically between 0.0 and 2.0.
- polygonOffsetSlope=
None
¶ A Float specifying the factor that multiplies the slope of each line before the line is added to the vertexes of a polygon face. The polygonOffsetSlope argument affects the behavior of only the OpenGL driver. Possible values are 0.0 ≤ polygonOffsetSlope ≤ 100.0. The default value is platform dependent and is typically between 0.0 and 2.0.
- printPolygonOffsetConstant=
None
¶ A Float specifying the offset added when drawing the faces of a polygon. printPolygonOffsetConstant is similar to polygonOffsetConstant; however, printPolygonOffsetConstant is used when printing and polygonOffsetConstant is used for display. Some systems, especially Windows, use different OpenGL drivers for printing and display, and you may have to use different offset values for each driver.
- printPolygonOffsetSlope=
None
¶ A Float specifying the factor that multiplies the slope of each line before the line is added to the vertexes of a polygon face. printPolygonOffsetSlope is similar to polygonOffsetSlope; however, printPolygonOffsetSlope is used when printing and polygonOffsetSlope is used for display. Some systems, especially Windows, use different OpenGL drivers for printing and display, and you may have to use different offset values for each driver.
- vertexArrays=
1
¶ A Boolean specifying how the three-dimensional vertices of the model are processed. When vertexArrays = OFF, each vertex of the model is processed separately. When vertexArrays = ON, the vertices are processed in large blocks resulting in faster display. Not all graphics adapters support this capability correctly. An indicator that the graphics adapters is not processing three-dimensional vertices correctly is the absence of graphics during rubber banding operations. For example, when dynamically dragging the radius of a circle in the Sketcher, the circle should be visible. The default value is ON.
- vertexArraysInDisplayLists=
1
¶ A Boolean specifying whether the vertexArrays setting should temporarily be set to OFF when building a display list. The default value is ON.Some graphics adapters do not properly support using vertex arrays inside a display list. Setting vertexArraysInDisplayLists to OFF has a smaller impact on graphics performance than setting vertexArrays or displayLists to OFF.
- viewManipDisplayListThreshold=
40
¶ An Int specifying how large a display list may be created in order to accelerate view manipulation operations. Increasing this value when viewing large models will increase the delay before a view manipulation operation begins in order to obtain improved graphics performance during the view manipulation. If set high with a large model, the delay can be many seconds. In excessive cases, graphics memory can be exceeded and the result may be an empty display list (no visible model) for the view manipulation. This setting is treated as 0 if displayLists = OFF. Possible values are 0 ≤ viewManipDisplayListThreshold ≤ 20000. The default value is 40.
- directRendering=
0
¶ A Boolean specifying how Abaqus renders X11 graphics operations. When directRendering = OFF, the graphics are rendered through the X Server. When directRendering = ON, the graphics operations are sent directly to the graphics adapter producing faster displays. For maximum performance, the initial value is ON. This argument is used only when you first start Abaqus/CAE; you cannot configure directRendering during a session.
- hardwareAcceleration=
1
¶ A Boolean specifying whether a hardware accelerated OpenGL graphics driver will be used on Windows platforms. The default value is ON.When hardwareAcceleration = OFF, the graphics driver uses a software implementation of OpenGL that is included with the operating system. This results in slower drawing on most systems; however, you may have to use the software implementation of OpenGL if the hardware graphics driver is incompatible with Abaqus/CAE. hardwareAcceleration is used only when you first start Abaqus/CAE on a Windows platform; you cannot configure hardwareAcceleration during a session. hardwareAcceleration is not used when you start Abaqus/CAE on an X-Windows platform and display to a Windows platform running Exceed or any other X-Windows server.
- hardwareOverlay=
0
¶ A Boolean specifying whether hardware overlay planes will be used if available. The default value is the same value as the hardwareOverlayAvailable member.When hardwareOverlayAvailable = OFF, it will not be possible to set hardwareOverlay to ON and the HARDWARE_OVERLAY highlight method will not be available. If viewports display a solid color and will not display the model, it will be necessary to inhibit hardware overlay completely by setting the ABAQUS_EMULATE_OVERLAYS environment variable (to any value) before starting Abaqus/CAE. hardwareOverlay is used only when you first start Abaqus/CAE; you cannot configure hardwareOverlay during a session.
- textureMapping=
1
¶ A Boolean specifying whether textures will be used to display contour plots. The default value is ON.Turning off texture mapping is necessary only if viewports will not correctly display a contour plot of your model.
- printTextureMapping=
1
¶ A Boolean specifying whether textures will be used to display contour plots. The default value is ON.Turning off texture mapping for printing is necessary only if printed output does not correctly display a contour plot of your model. printTextureMapping is similar to textureMapping; however, printTextureMapping is used when printing and textureMapping is used for display. Some systems, especially Windows, use different OpenGL drivers for printing and display, and you may have to use different settings for each driver.
- backgroundStyle=
SOLID
¶ A SymbolicConstant specifying the background style to be used for all viewport windows. Possible values are SOLID and GRADIENT. The default value is SOLID.If backgroundStyle = SOLID, the viewport background will appear as a solid color as specified by backgroundColor. If backgroundStyle = GRADIENT, the viewport background will be drawn as a gradient beginning with the backgroundColor at the top of the viewport and gradually blending to the backgroundBottomColor at the bottom of the viewport.
- backgroundColor=
''
¶ A String specifying one of the two background colors for all viewport windows. The initial color is black. A list of valid color strings is in the colors map in the Session object.
- backgroundBottomColor=
''
¶ A String specifying one of the two background colors for all viewport windows. This color is used only if backgroundStyle =GRADIENT. The initial color is black. A list of valid color strings is in the colors map in the Session object.
- backgroundOverride=
0
¶ A Boolean specifying whether a viewport background style of GRADIENT can be overridden when displaying certain objects, such as sketches or XY plots. When overridden, the background will be the top color of the gradient background.
- backfaceCulling=
1
¶ A Boolean specifying whether facets that are determined to be facing away from the viewer will be drawn. The default value is ON. backfaceCulling provides a performance enhancement when displaying solid elements where the front side of the element occludes the back side of the element. Set backfaceCulling = OFF if it appears that you are seeing the back side of an element and the front side is missing. You should also set backfaceCulling = OFF if you believe the display is not complete.
- accelerateOffScreen=
0
¶ A Boolean specifying whether the hardware accelerated graphics driver will be used for off-screen rendering. The default value is ON if graphics hardware acceleration is available and has not been disabled via the hardwareAcceleration option, and the graphics driver supports the underlying technology. When set to OFF, an alternate (slower) technique will be used to create off-screen images. Off-screen rendering is used for Printing, Probe, and backing store (viewport refresh). Setting this value to OFF will force printed images to be rendered without hardware acceleration. This is useful when writing automated tests to produce raster images that you will want to compare across multiple machines that may have different graphics environments.
- backingStore=
1
¶ A Boolean specifying whether a backing store will be used to refresh a viewport after a window occluding the viewport is moved or dismissed. The default value is ON.
- shadersAvailable=
0
¶ A Boolean specifying if the graphics hardware supports the OpenGL Shading Language (GLSL).
- translucencyMode=
4
¶ An Int specifying whether speed or accuracy is more important when drawing translucent objects. Lower values optimize for speed while higher values optimize for accuracy. The actual meaning of each setting will depend on the setting of shadersAvailable and the capabilities of the graphics hardware and driver. Possible values are 1 ≤ translucencyMode ≤ 6. The default value is 4.
- options=
None
¶ None or a GraphicsOptions object specifying the object from which values are to be copied. If other arguments are also supplied to setValues, they will override the values in the options member. The default value is None.
- contourRangeTexturePrecision=
0
¶ A Float specifying a tolerance used when computing the appropriate scale for transforming result (contour) values to texture values. When set too low the 'out of range' colors may be incorrectly shown for values near the range limits. The default value is 0.5x10⁻⁵.
- graphicsDriver=
- 抛出:¶
RangeError --
-
shadersAvailable : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying if the graphics hardware supports the OpenGL Shading Language (GLSL).
-
textureMapping : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether textures will be used to display contour plots. The default value is ON.Turning off texture mapping is necessary only if viewports will not correctly display a contour plot of your model.
-
translucencyMode : --is-rst--:py:class:`int` =
4
[源代码]¶ An Int specifying whether speed or accuracy is more important when drawing translucent objects. Lower values optimize for speed while higher values optimize for accuracy. The actual meaning of each setting will depend on the setting of shadersAvailable and the capabilities of the graphics hardware and driver. Possible values are 1 ≤ translucencyMode ≤ 6. The default value is 4.
-
vertexArrays : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying how the three-dimensional vertices of the model are processed. When vertexArrays = OFF, each vertex of the model is processed separately. When vertexArrays = ON, the vertices are processed in large blocks resulting in faster display. Not all graphics adapters support this capability correctly. An indicator that the graphics adapters is not processing three-dimensional vertices correctly is the absence of graphics during rubber banding operations. For example, when dynamically dragging the radius of a circle in the Sketcher, the circle should be visible. The default value is ON.
-
vertexArraysInDisplayLists : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
1
[源代码]¶ A Boolean specifying whether the vertexArrays setting should temporarily be set to OFF when building a display list. The default value is ON.Some graphics adapters do not properly support using vertex arrays inside a display list. Setting vertexArraysInDisplayLists to OFF has a smaller impact on graphics performance than setting vertexArrays or displayLists to OFF.
-
viewManipDisplayListThreshold : --is-rst--:py:class:`int` =
40
[源代码]¶ An Int specifying how large a display list may be created in order to accelerate view manipulation operations. Increasing this value when viewing large models will increase the delay before a view manipulation operation begins in order to obtain improved graphics performance during the view manipulation. If set high with a large model, the delay can be many seconds. In excessive cases, graphics memory can be exceeded and the result may be an empty display list (no visible model) for the view manipulation. This setting is treated as 0 if displayLists = OFF. Possible values are 0 ≤ viewManipDisplayListThreshold ≤ 20000. The default value is 40.
-
accelerateOffScreen : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
- class Light[源代码]¶
基类:
object
The Light object stores settings that control how objects are lit when the renderStyle is set to SHADED. The Light object has no constructor; Abaqus creates them as part of the defaultLightOptions and the lightOptions objects when a session is started.
备注
This object can be accessed by:
session.defaultLightOptions.lights[i] session.viewports[name].lightOptions.lights[i]
备注
Check Light on help.3ds.com/2017.
Member Details:
- setValues(
- enabled=
0
, - type=
DIRECTIONAL
, - latitude=
0
, - longitude=
0
, - diffuseColor=
''
, - specularColor=
''
, This method modifies the Light object.
备注
- 参数:¶
- enabled=
0
¶ A Boolean specifying whether the light is on or off. The default value is OFF.
- type=
DIRECTIONAL
¶ A SymbolicConstant specifying how the effect of the light should be calculated. Possible values are:DIRECTIONAL, specifying a constant vector should be used for the direction from the light to a vertex.POINT, specifying the vector from the light to each vertex should be calculated.The default value is DIRECTIONAL.When set to type =DIRECTIONAL, a constant vector is used for the direction from the light to a vertex. When type =POINT, the result is more realistic because the actual vector from the light to each vertex is calculated. However, overall performance is decreased.
- latitude=
0
¶ A Float specifying the altitude of the light above or below the camera. Possible values are -90.0 ≤ latitude ≤ 90.0. The default value is 0.0.
- longitude=
0
¶ A Float specifying the east/west position of the light to the left or right of the camera. Possible values are -90.0 ≤ longitude ≤ 90.0. The default value is 0.0.
- diffuseColor=
''
¶ A String specifying the color of the light added to the scene by this light source. The initial value is 70% gray. A list of valid color strings is in the colors map in the session object.
- specularColor=
''
¶ A String specifying the color of the specular highlights created by this light source. The initial value is 36% gray. A list of valid color strings is in the colors map in the session object.
- enabled=
- 抛出:¶
RangeError --
- class LightOptions[源代码]¶
基类:
object
The LightOptions object stores settings that control how objects are lit when the.
renderStyle is set to SHADED. LightOptions objects are accessed in one of two ways: - The default light options. These settings are used as defaults when you start a session and by the Defaults button on the Light ConstrainedSketchOptions dialog box. - The light options associated with a particular viewport. The LightOptions object has no constructor; Abaqus creates the defaultLightOptions member when a session is started. When a new viewport is created, the lightOptions member is copied from the current viewport.
备注
This object can be accessed by:
session.defaultLightOptions session.viewports[name].lightOptions
备注
Member Details:
-
ambientColor : --is-rst--:py:class:`str` =
''
[源代码]¶ A String specifying the light applied evenly to the entire scene independent of any individual light. The initial value is 20% gray. A list of valid color strings is in the colors map in the session object.
-
lights : --is-rst--:py:class:`~typing.List`\ \[:py:class:`~abaqus.DisplayOptions.Light.Light`] =
[]
[源代码]¶ A LightArray object of length 8.
-
materialShininess : --is-rst--:py:class:`float` =
105
[源代码]¶ A Float specifying the degree to which specular reflection is focused. The higher the materialShininess argument, the more focused the specular highlight. Possible values are 0.0 ≤ polygonOffsetConstant ≤ 128.0. The default value is 105.0.
- setValues(
- shading=
GOURAUD
, - viewpoint=
INFINITE
, - ambientColor=
''
, - materialShininess=
105
, This method modifies the LightOptions object.
- 参数:¶
- shading=
GOURAUD
¶ A SymbolicConstant specifying the shading technique that should be used to fill facets for geometric bodies when renderStyle =SHADED. The lighting of facets for meshed geometry is not affected by this setting. Possible values are:GOURAUD, specifying that lighting values should be computed for each corner of a facet and interpolated to fill the remainder of the facet.PHONG, specifying that lighting values should be computed for each pixel of a facet.The default value is GOURAUD.When set to shading =GOURAUD, lighting values are computed for each corner of a facet and the lighting for the remainder of the facet is interpolated from the corner values. When shading =PHONG, lighting values are computed for each pixel of a facet. Note: The shading technique can only be set to PHONG when the shadersAvailable member of GraphicsOptions is True.Printed output will only contain Phong shading if the output format is raster and the accelerateOffScreen member of GraphicsOptions is ON.The renderStyle setting is part of AssemblyDisplayOptions, PartDisplayOptions, and various other options objects not listed here since they are generally used for meshed geometry.
- viewpoint=
INFINITE
¶ A SymbolicConstant specifying how specular highlights should be calculated. Possible values are:INFINITE, specifying that a constant vector should be used for the direction from the camera to a vertex when computing specular highlights.LOCAL, specifying that the vector from the camera to each vertex should be calculated when computing specular highlights.The default value is INFINITE.When set to viewpoint =INFINITE, a constant vector is used for the direction from the camera (viewpoint) to a vertex. When viewpoint =LOCAL, the result is more realistic because the actual vector from the camera to each vertex is calculated. However, overall performance is decreased.
- ambientColor=
''
¶ A String specifying the light applied evenly to the entire scene independent of any individual light. The initial value is 20% gray. A list of valid color strings is in the colors map in the session object.
- materialShininess=
105
¶ A Float specifying the degree to which specular reflection is focused. The higher the materialShininess argument, the more focused the specular highlight. Possible values are 0.0 ≤ polygonOffsetConstant ≤ 128.0. The default value is 105.0.
- shading=
- 抛出:¶
RangeError --
-
shading : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'GOURAUD'
[源代码]¶ A SymbolicConstant specifying the shading technique that should be used to fill facets for geometric bodies when renderStyle =SHADED. The lighting of facets for meshed geometry is not affected by this setting. Possible values are:GOURAUD, specifying that lighting values should be computed for each corner of a facet and interpolated to fill the remainder of the facet.PHONG, specifying that lighting values should be computed for each pixel of a facet.The default value is GOURAUD.When set to shading =GOURAUD, lighting values are computed for each corner of a facet and the lighting for the remainder of the facet is interpolated from the corner values. When shading =PHONG, lighting values are computed for each pixel of a facet. Note: The shading technique can only be set to PHONG when the shadersAvailable member of GraphicsOptions is True.Printed output will only contain Phong shading if the output format is raster and the accelerateOffScreen member of GraphicsOptions is ON.The renderStyle setting is part of AssemblyDisplayOptions, PartDisplayOptions, and various other options objects not listed here since they are generally used for meshed geometry.
-
viewpoint : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'INFINITE'
[源代码]¶ A SymbolicConstant specifying how specular highlights should be calculated. Possible values are:INFINITE, specifying that a constant vector should be used for the direction from the camera to a vertex when computing specular highlights.LOCAL, specifying that the vector from the camera to each vertex should be calculated when computing specular highlights.The default value is INFINITE.When set to viewpoint =INFINITE, a constant vector is used for the direction from the camera (viewpoint) to a vertex. When viewpoint =LOCAL, the result is more realistic because the actual vector from the camera to each vertex is calculated. However, overall performance is decreased.
-
ambientColor : --is-rst--:py:class:`str` =
- class PartDisplayOptions[源代码]¶
基类:
object
The PartDisplayOptions object stores settings that specify how parts are to be displayed in a particular viewport. The PartDisplayOptions object has no constructor. When you create a new viewport, the settings are copied from the current viewport.
备注
This object can be accessed by:
session.viewports[name].layers[name].partDisplay import part session.viewports[name].partDisplay
备注
Member Details:
-
beamScaleFactor : --is-rst--:py:class:`float` =
1
[源代码]¶ A Float specifying the beam profile scale factor. The beamScaleFactor must be greater than zero. The default value is 1.0.
-
displayGroup : --is-rst--:py:class:`~abaqus.DisplayGroup.DisplayGroup.DisplayGroup` =
<abaqus.DisplayGroup.DisplayGroup.DisplayGroup object>
[源代码]¶ A DisplayGroup object specifying the current display group and referring to an object in the displayGroups member of Session.
-
displayGroupInstances : --is-rst--:py:class:`dict`\ \[:py:class:`str`, :py:class:`~abaqus.DisplayGroup.DisplayGroupInstance.DisplayGroupInstance`] =
{}
[源代码]¶ A repository of DisplayGroupInstance objects.
-
engineeringFeatureOptions : --is-rst--:py:class:`~abaqus.DisplayOptions.EngineeringFeatureDisplayOptions.EngineeringFeatureDisplayOptions` =
<abaqus.DisplayOptions.EngineeringFeatureDisplayOptions.EngineeringFeatureDisplayOptions object>
[源代码]¶ An EngineeringFeatureDisplayOptions object.
-
engineeringFeatures : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether engineering features are shown. The default value is OFF.
-
geometryOptions : --is-rst--:py:class:`~abaqus.DisplayOptions.GeometryDisplayOptions.GeometryDisplayOptions` =
<abaqus.DisplayOptions.GeometryDisplayOptions.GeometryDisplayOptions object>
[源代码]¶ A GeometryDisplayOptions object.
-
mesh : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether the mesh should be displayed.
-
meshOptions : --is-rst--:py:class:`~abaqus.DisplayOptions.MeshDisplayOptions.MeshDisplayOptions` =
<abaqus.DisplayOptions.MeshDisplayOptions.MeshDisplayOptions object>
[源代码]¶ A MeshDisplayOptions object.
-
renderBeamProfiles : --is-rst--:py:data:`~typing.Union`\ \[:py:class:`~abaqus.UtilityAndView.AbaqusBoolean.AbaqusBoolean`, :py:class:`bool`] =
0
[源代码]¶ A Boolean specifying whether to render the beam profiles. The default value is OFF.
-
renderStyle : --is-rst--:py:class:`~abaqus.UtilityAndView.SymbolicConstant.SymbolicConstant` =
'WIREFRAME'
[源代码]¶ A SymbolicConstant specifying how the image in the viewport is rendered. Possible values are WIREFRAME, HIDDEN, and SHADED. The default value is WIREFRAME.
- setValues(
- renderStyle=
WIREFRAME
, - visibleDisplayGroups=
()
, - engineeringFeatures=
0
, - renderBeamProfiles=
0
, - beamScaleFactor=
1
, This method modifies the PartDisplayOptions object.
- 参数:¶
- renderStyle=
WIREFRAME
¶ A SymbolicConstant specifying how the image in the viewport is rendered. Possible values are WIREFRAME, HIDDEN, and SHADED. The default value is WIREFRAME.
- visibleDisplayGroups=
()
¶ 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.
- engineeringFeatures=
0
¶ A Boolean specifying whether engineering features are shown. The default value is OFF.
- renderBeamProfiles=
0
¶ A Boolean specifying whether to render the beam profiles. The default value is OFF.
- beamScaleFactor=
1
¶ A Float specifying the beam profile scale factor. The beamScaleFactor must be greater than zero. The default value is 1.0.
- renderStyle=
- 抛出:¶
RangeError --
-
beamScaleFactor : --is-rst--:py:class:`float` =
- class ViewportAnnotationOptions[源代码]¶
基类:
object
The ViewportAnnotationOptions object stores settings that control how annotations are rendered in a particular viewport. ViewportAnnotationOptions objects are accessed in one.
of two ways: - The default viewport annotations. These settings are used as defaults when other viewportAnnotationOptions members are created and can be set to customize user preferences. - The viewport annotations associated with a particular viewport. The ViewportAnnotationOptions object has no constructor; Abaqus creates the defaultViewportAnnotationOptions member when a session is started. When a new viewport is created, the settings are copied from the current viewport.
备注
This object can be accessed by:
session.defaultViewportAnnotationOptions session.viewports[name].viewportAnnotationOptions
Member Details:
- setValues(
- triad=
1
, - triadPosition=
None
, - triadColor=
''
, - triadLabels=
NUMBERS
, - triadFont=
''
, - triadSize=
4
, - legend=
1
, - legendMinMax=
0
, - legendBox=
1
, - legendDecimalPlaces=
3
, - legendPosition=
None
, - legendFont=
''
, - legendTextColor=
''
, - legendBackgroundStyle=
TRANSPARENT
, - legendBackgroundColor=
''
, - title=
1
, - titleBox=
0
, - titlePosition=
None
, - titleFont=
''
, - titleTextColor=
''
, - titleBackgroundStyle=
TRANSPARENT
, - titleBackgroundColor=
''
, - state=
1
, - stateBox=
0
, - statePosition=
None
, - stateFont=
''
, - stateTextColor=
''
, - stateBackgroundStyle=
TRANSPARENT
, - stateBackgroundColor=
''
, - compass=
1
, - compassScale=
0
, - compassPrivilegedPlane=
XZPLANE
, This method modifies the ViewportAnnotationOptions object.
- 参数:¶
- triad=
1
¶ A Boolean specifying whether the view orientation triad is shown. The default value is ON.
- triadPosition=
None
¶ A pair of Ints specifying the position of the view orientation triad as a percentage of the viewport size. Possible values are (0, 0) ≤ triadPosition ≤ (100, 100). The default value is (6, 12).
- triadColor=
''
¶ A String specifying the color of the view orientation triad. Possible values are any valid color. The default value is "White".
- triadLabels=
NUMBERS
¶ A SymbolicConstant specifying how the view orientation triad is labeled. Possible values are:NUMBERS, specifying the label axes 1, 2, 3.LETTERS, specifying the label axes X, Y, Z.The default value is NUMBERS.
- triadFont=
''
¶ A String specifying the font of the view orientation triad labels. Possible values are any valid font. The default value is "--verdana-bold-r-normal--120-".
- triadSize=
4
¶ An Int specifying the length of each triad axis as a percentage of the viewport size. Possible values are 1 ≤ legendDecimalPlaces ≤ 50. The default value is 4.
- legend=
1
¶ A Boolean specifying whether the legend is shown. The default value is ON.
- legendMinMax=
0
¶ A Boolean specifying whether the minimum and maximum values for X - Y and contour plots are shown. The default value is OFF.
- legendBox=
1
¶ A Boolean specifying whether the box around the legend is shown. The default value is ON.
- legendDecimalPlaces=
3
¶ An Int specifying the number of decimal places to display in the legend. Possible values are 0 ≤ legendDecimalPlaces ≤ 9. The default value is 3.
- legendPosition=
None
¶ A pair of Ints specifying the position of the legend as a percentage of the viewport size. Possible values are (0, 0)≤ legendPosition ≤ (100, 100). The default value is (2, 98).
- legendFont=
''
¶ A String specifying the font of the legend labels. Possible values are any valid font. The default value is "--verdana-medium-r----120-----iso8859-1".
- legendTextColor=
''
¶ A String specifying the color of the legend. Possible values are any valid color. The default value is "White".
- legendBackgroundStyle=
TRANSPARENT
¶ A SymbolicConstant specifying the legend background style. Possible values are MATCH, TRANSPARENT, and OTHER. The default value is TRANSPARENT.The default color when OTHER is specified is the background color (black).
- legendBackgroundColor=
''
¶ A String specifying the color of the legend background. Possible values are any valid color. The initial value matches the viewport background.
- title=
1
¶ A Boolean specifying whether the title block is shown. The default value is ON.
- titleBox=
0
¶ A Boolean specifying whether the box around the title block is shown. The default value is OFF.
- titlePosition=
None
¶ A pair of Ints specifying the position of the title block as a percentage of the viewport size. Possible values are (0, 0) ≤ titlePosition ≤ (100, 100). The default value is (13, 20).
- titleFont=
''
¶ A String specifying the font of the title. Possible values are any valid font. The default value is "--verdana-medium-r----120-----iso8859-1".
- titleTextColor=
''
¶ A String specifying the color of the title. Possible values are any valid color. The default value is "White".
- titleBackgroundStyle=
TRANSPARENT
¶ A SymbolicConstant specifying the title block background style. Possible values are MATCH, TRANSPARENT, and OTHER. The default value is TRANSPARENT.The default color when OTHER is specified is the background color (black).
- titleBackgroundColor=
''
¶ A String specifying the color of the title block background. Possible values are any valid color. The initial value matches the viewport background.
- state=
1
¶ A Boolean specifying whether the state block is shown. The default value is ON.
- stateBox=
0
¶ A Boolean specifying whether the box around the state block is shown. The default value is OFF.
- statePosition=
None
¶ A pair of Ints specifying the position of the state block as a percentage of the viewport size. Possible values are (0, 0) ≤ statePosition ≤ (100, 100). The default value is (13, 12).
- stateFont=
''
¶ A String specifying the font of the state label. Possible values are any valid font. The default value is "--verdana-medium-r----120-----iso8859-1".
- stateTextColor=
''
¶ A String specifying the color of the state block label. Possible values are any valid color. The default value is "White".
- stateBackgroundStyle=
TRANSPARENT
¶ A SymbolicConstant specifying the state block background style. Possible values are MATCH, TRANSPARENT, and OTHER. The default value is TRANSPARENT.The default color when OTHER is specified is the background color (black).
- stateBackgroundColor=
''
¶ A String specifying the color of the state block background. Possible values are any valid color. The initial value matches the viewport background.
- compass=
1
¶ A Boolean specifying whether the 3D Compass is shown. The default value is ON.
- compassScale=
0
¶ A Float specifying the relative size of the 3D Compass in the viewport. Possible values are 0.5 ≤ compassScale ≤ 2.0. The default value is 0.8.
- compassPrivilegedPlane=
XZPLANE
¶ A SymbolicConstant specifying the plane that will be used for the base of the 3D Compass. Possible values are XYPLANE, XZPLANE, and YZPLANE. The default value is XZPLANE.
- triad=
- 抛出:¶
RangeError --