BoundaryObject#

class ansys.aedt.core.modules.boundary.BoundaryObject(app, name, props=None, boundarytype=None, auto_update=True)[source]#

Manages boundary data and execution.

Parameters:
appobject

An AEDT application from ansys.aedt.core.application.

namestr

Name of the boundary.

propsdict, optional

Properties of the boundary.

boundarytypestr, optional

Type of the boundary.

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 ansys.aedt.core.modules.boundary.BoundaryObject

>>> from ansys.aedt.core import Hfss
>>> hfss =Hfss()
>>> origin = hfss.modeler.Position(0, 0, 0)
>>> inner = hfss.modeler.create_cylinder(hfss.PLANE.XY,origin,3,200,0,"inner")
>>> inner_id = hfss.modeler.get_obj_id("inner",)
>>> coat = hfss.assign_coating([inner_id],"copper",use_thickness=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.

Attributes

BoundaryObject.available_properties

Available properties.

BoundaryObject.name

Boundary Name.

BoundaryObject.object_properties

Object-oriented properties.

BoundaryObject.props

Boundary data.

BoundaryObject.type

Boundary type.