profile#

class ansys.api.pyensight.ensight_api.profile(session: Session)#

Class wrapper for EnSight profile module

This class acts as a proxy for the EnSight Python module ensight.profile

Methods

profile.begin()

Groups profile attribute commands to be applied together before a "profile: create" command.

profile.component(p0, p1, p2)

Specifies the contribution of a vector variable to be applied for profile generation.

profile.create()

Create a profile part with the currently defined attributes using the currently selected parts as parents.

profile.end()

Groups profile attribute commands to be applied together before a "profile: create" command.

profile.from_point(p0, p1, p2)

Profile: from_point

profile.in_plane(p0, p1, p2, p3)

Specify the location of the orientation points for profile generation.

profile.in_plane_1(p0, p1, p2)

Profile: in_plane 1

profile.in_plane_2(p0, p1, p2)

Profile: in_plane 2

profile.in_plane_3(p0, p1, p2)

Profile: in_plane 3

profile.offset(p0)

Add a value to the variable values before scaling the profile.

profile.scale_factor(p0)

Apply a scale factor to the variable values of the profile.

profile.select_default()

Sets the current profile to none, so that subsequent commands will modify the default profile attributes.

profile.var_type(p0)

Profile: var_type

profile.variable(p0)

Sets the variable to use for profile creation or modification.