ansys.mapdl.core.Mapdl.trlcy#
- Mapdl.trlcy(lab='', tlevel='', n1='', n2='', ninc='', **kwargs)#
Specifies the level of translucency.
Mechanical APDL Command: /TRLCY
- Parameters:
- lab
str
Apply translucency level to the items specified by the following labels:
ELEM
- Elements. UseN1
,N2
,NINC
fields for element numbers.AREA
- Solid model areas. UseN1
,N2
,NINC
fields for area numbers.VOLU
- Solid model volumes. UseN1
,N2
,NINC
fields for volume numbers.ISURF
- Isosurfaces (surfaces of constant stress, etc., value). Translucency varies with result value, to a maximum of the specified translucency level.CM
- Component group. UseN1
for component name, ignoreN2
andNINC
.CURVE
- Filled areas under curves of line graphs. UseN1
,N2
,NINC
fields for curve numbers.ZCAP
- If slashtype,WN
,ZCAP is the current display type, then trlcy,ZCAP,TLEVEL
will display the model in windowWN
with the portion of the model in front of the section plane displayed at the translucency levelTLEVEL
.ON, OFF
- Sets the specified translucency display on or off. All other fields are ignored.
- tlevel
str
Translucency level: 0.0 (opaque) to 1.0 (transparent).
- n1
str
Used only with labels as noted above. Apply translucency level to
Lab
items numberedN1
toN2
(defaults toN1
) in steps ofNINC
(defaults to 1). IfN1
is blank or ALL, apply specified translucency level to entire selected range. IfLab
is CM, use component name forN1
and ignoreN2
andNINC
. A value ofN1
= P allows you to graphically pick elements, areas, and volumes. You can then assign translucency levels to the entities via the picker. TheLab
andTLEVEL
fields are ignored when translucency is applied by picking.- n2
str
Used only with labels as noted above. Apply translucency level to
Lab
items numberedN1
toN2
(defaults toN1
) in steps ofNINC
(defaults to 1). IfN1
is blank or ALL, apply specified translucency level to entire selected range. IfLab
is CM, use component name forN1
and ignoreN2
andNINC
. A value ofN1
= P allows you to graphically pick elements, areas, and volumes. You can then assign translucency levels to the entities via the picker. TheLab
andTLEVEL
fields are ignored when translucency is applied by picking.- ninc
str
Used only with labels as noted above. Apply translucency level to
Lab
items numberedN1
toN2
(defaults toN1
) in steps ofNINC
(defaults to 1). IfN1
is blank or ALL, apply specified translucency level to entire selected range. IfLab
is CM, use component name forN1
and ignoreN2
andNINC
. A value ofN1
= P allows you to graphically pick elements, areas, and volumes. You can then assign translucency levels to the entities via the picker. TheLab
andTLEVEL
fields are ignored when translucency is applied by picking.
- lab
Notes
Specifies the level of translucency for various items. Issue trlcy,DEFA to reset the default (0) translucency levels. This command is valid only on selected 2D and 3D graphics devices; see filename=”Hlp_G_BAS11_3.html”? in the Basic Analysis Guide for more information on applying translucency.
For 2D devices, the program displays only the visible faces of the items being displayed. The information behind the facing planes is not displayed. Issuing the shrink command will force the hardware to display information behind the translucent items.
This command is valid in any processor.