assign_primary#

Hfss.assign_primary(assignment: int | FacePrimitive, u_start: list, u_end: list, reverse_v: bool | None = False, coordinate_system: str | None = 'Global', name: str | None = None)#

Assign the primary boundary condition.

Parameters:
assignmentint, FacePrimitive

Face to assign the lattice pair to.

u_startlist

List of [x,y,z] values for the starting point of the U vector.

u_endlist

List of [x,y,z] values for the ending point of the U vector.

reverse_vbool, optional

Whether to reverse the V vector. The default is False.

coordinate_systemstr, optional

Name of the coordinate system for the U coordinates. The default is "Global".

namestr, optional

Name of the boundary. The default is None, in which case a name is automatically assigned.

Returns:
ansys.aedt.core.modules.boundary.common.BoundaryObject

Boundary object.

References

>>> oModule.AssignPrimary