assign_net#
- Q3d.assign_net(assignment, net_name=None, net_type='Signal')#
Assign a net to a list of objects.
- Parameters:
- Returns:
ansys.aedt.core.modules.boundary.common.BoundaryObject
Source object.
References
>>> oModule.AssignSignalNet >>> oModule.AssignGroundNet >>> oModule.AssignFloatingNet
Examples
>>> from ansys.aedt.core import Q3d >>> q3d = Q3d() >>> box = q3d.modeler.create_box([30, 30, 30],[10, 10, 10],name="mybox") >>> net_name = "my_net" >>> net = q3d.assign_net(box,net_name)