BoundaryObject#

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

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.common.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.jsonalize_tree()

Create dictionary from the Binary Tree.

BoundaryObject.suppress_all(app)

Activate suppress option for all the operations contained in the binary tree node.

BoundaryObject.unsuppress_all(app)

Disable suppress option for all the operations contained in the binary tree node.

BoundaryObject.update()

Update the boundary.

BoundaryObject.update_assignment()

Update the boundary assignment.

BoundaryObject.update_property(prop_name, ...)

Update the property of the binary tree node.

Attributes

BoundaryObject.available_properties

Available properties.

BoundaryObject.children

BoundaryObject.command

Command of the modeler hystory if available.

BoundaryObject.name

Boundary Name.

BoundaryObject.properties

Properties data.

BoundaryObject.props

Boundary data.

BoundaryObject.type

Boundary type.