Environment#

class ansys.aedt.core.modeler.advanced_cad.multiparts.Environment(env_folder, relative_cs_name=None)#

Supports multi-part 3D components without motion for HFSS SBR+.

This class is derived from MultiPartComponent. Its call signature is identical to the parent class except motion is always set to False.

Parameters:
env_folderstr

Full path to the folder with the JSON file containing the component definition.

relative_cs_namestr, optional

Name of the coordinate system to connect the component’s relative system to when use_relative_cs=True. The default is None, in which case the global coordinate system is used.

Methods

Environment.insert(app[, motion])

Insert the object in HFSS SBR+.

Environment.position_in_app(app)

Set up design variables and values to enable motion for the multi-part 3D component.

Environment.start(app)

Initialize app for SBR+ simulation.

Attributes

Environment.cs_name

Coordinate system name.

Environment.index

Number of multi-part components.

Environment.modeler_units

Environment.name

Unique instance name.

Environment.offset

Offset for the multi-part component.

Environment.offset_names

X-, Y-, and Z-axis offset names.

Environment.offset_x_name

X-axis offset name.

Environment.offset_y_name

Y-axis offset name.

Environment.offset_z_name

Z-axis offset name.

Environment.pitch

Pitch variable value.

Environment.pitch_name

Pitch variable name.

Environment.roll

Roll variable value.

Environment.roll_name

Roll variable name.

Environment.use_global_cs

Global coordinate system.

Environment.yaw

Yaw variable value.

Environment.yaw_name

Yaw variable name.