assign_source_to_objectface

Q3d.assign_source_to_objectface(object_name, axisdir=0, source_name=None, net_name=None)[source]

Generate a source on a face of an object.

The face ID is selected based on axisdir. It is the face that has the maximum/minimum in this axis direction.

Parameters
object_namestr

Name of the object.

axisdiroptional

Initial axis direction. Options are 0 through 5. The default is 0.

source_namestr, optional

Name of the source. The default is None.

net_namestr, optional

Name of the net. The default is None, in which case object_name is considered.

Returns
pyaedt.modules.Boundary.BoundaryObject

Source object.

References

>>> oModule.AssignSource