Vehicle#

class ansys.aedt.core.modeler.advanced_cad.actors.Vehicle(car_folder, speed=10.0, relative_cs_name=None)[source]#

Provides an instance of a vehicle.

This class is derived from ansys.aedt.core.modeler.multiparts.MultiPartComponent.

Note

Motion is always forward in the X-axis direction.

Parameters:
car_folderstr, required

Full path to the folder containing the definition of the vehicle. This can be changed later.

speedfloat or str, optional

Speed of the vehicle. The default is 10.0.

relative_cs_namestr, optional

Name of the relative coordinate system of the actor. The default is None, in which case the global coordinate system is used.

Methods

Vehicle.insert(app[, motion])

Insert the vehicle in HFSS SBR+.

Vehicle.position_in_app(app)

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

Vehicle.start(app)

Initialize app for SBR+ simulation.

Attributes

Vehicle.cs_name

Coordinate system name.

Vehicle.index

Number of multi-part components.

Vehicle.modeler_units

Vehicle.name

Unique instance name.

Vehicle.offset

Offset values for the multi-part component.

Vehicle.offset_names

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

Vehicle.offset_x_name

X-axis offset name.

Vehicle.offset_y_name

Y-axis offset name.

Vehicle.offset_z_name

Z-axis offset name.

Vehicle.pitch

Pitch variable value.

Vehicle.pitch_name

Pitch variable name.

Vehicle.roll

Roll variable value.

Vehicle.roll_name

Roll variable name.

Vehicle.speed_expression

Speed variable expression.

Vehicle.speed_name

Speed variable name.

Vehicle.use_global_cs

Global coordinate system.

Vehicle.yaw

Yaw variable value.

Vehicle.yaw_name

Yaw variable name.