Graphics3DMarkerFile#

class ansys.stk.core.stkobjects.Graphics3DMarkerFile#

Bases: IGraphics3DMarkerData

Class defining 3D marker file attributes.

Overview#

filename

Display a 2D image to represent the object at the specified threshold.

is_transparent

Use the color of the upper right pixel of the image as the transparent color if an image file is being used. No pixels of that color in the image are drawn.

use_soft_transparency

Whether to use soft transparency. Soft transparency shows smoother edges for images with a transparency channel.

file_path

Full file path and name to display a 2D image to represent the object at the specified threshold.

Import detail#

from ansys.stk.core.stkobjects import Graphics3DMarkerFile

Property detail#

property Graphics3DMarkerFile.filename: str#

Display a 2D image to represent the object at the specified threshold.

property Graphics3DMarkerFile.is_transparent: bool#

Use the color of the upper right pixel of the image as the transparent color if an image file is being used. No pixels of that color in the image are drawn.

property Graphics3DMarkerFile.use_soft_transparency: bool#

Whether to use soft transparency. Soft transparency shows smoother edges for images with a transparency channel.

property Graphics3DMarkerFile.file_path: str#

Full file path and name to display a 2D image to represent the object at the specified threshold.