add_via#

Padstack.add_via(position_x=0, position_y=0, instance_name=None, reference_system=None)[source]#

Insert a new via on this padstack.

Parameters:
position_xfloat, optional

Center x position. The default is 0.

position_yfloat, optional

Center y position. The default is 0.

instance_namestr, optional

Via name. The default is None.

reference_systemstr, optional

Whether to use an existing reference system or create a new one. The default is None, in which case a new reference system is created.

Returns:
ansys.aedt.core.modeler.cad.object_3d.Object3d

Object created.