pyaedt.modules.Boundary.BoundaryObject

class pyaedt.modules.Boundary.BoundaryObject(app, name, props, boundarytype)[source]

Manages boundary data and execution.

Examples

Create a cylinder at the XY working plane and assign a copper coating of 0.2 mm to it. The Coating is a boundary operation and coat will return a pyaedt.modules.Boundary.BoundaryObject

>>> from pyaedt import Hfss
>>> hfss =Hfss()
>>> origin = hfss.modeler.Position(0, 0, 0)
>>> inner = hfss.modeler.primitives.create_cylinder(hfss.PLANE.XY, origin, 3, 200, 0, "inner")
>>> inner_id = hfss.modeler.primitives.get_obj_id("inner")
>>> coat = hfss.assign_coating([inner_id], "copper", usethickness=True, thickness="0.2mm")

Methods

BoundaryObject.create()

Create a boundary.

BoundaryObject.delete()

Delete the boundary.

BoundaryObject.update()

Update the boundary.

BoundaryObject.update_assignment()

Update the boundary assignment.