add_cad_model#
- HDMPlotter.add_cad_model(filename: str, cad_color: str = 'dodgerblue', opacity: int = 1, units: str = 'mm') bool#
Add a
stlfile to the scenario.- Parameters:
- Returns:
- bool
Trueif imported.
Examples
>>> from ansys.aedt.core.visualization.advanced.hdm_plot import HDMPlotter >>> obj = HDMPlotter() >>> obj.add_cad_model(filename="example.stl")