NativeComponentObject#

class ansys.aedt.core.modules.boundary.layout_boundary.NativeComponentObject(app, component_type, component_name, props)#

Manages Native Component data and execution.

Parameters:
appobject

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

component_typestr

Type of the component.

component_namestr

Name of the component.

propsdict

Properties of the boundary.

Examples

This example the par_beam returned object is a ansys.aedt.core.modules.boundary.layout_boundary.NativeComponentObject.

>>> from ansys.aedt.core import Hfss
>>> hfss = Hfss(solution_type="SBR+")
>>> ffd_file ="path/to/ffdfile.ffd"
>>> par_beam = hfss.create_sbr_file_based_antenna(ffd_file)
>>> par_beam.native_properties["Size"] = "0.1mm"
>>> par_beam.update()
>>> par_beam.delete()

Methods

NativeComponentObject.create()

Create a Native Component in AEDT.

NativeComponentObject.delete()

Delete the Native Component in AEDT.

NativeComponentObject.jsonalize_tree()

Create dictionary from the Binary Tree.

NativeComponentObject.suppress_all(app)

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

NativeComponentObject.unsuppress_all(app)

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

NativeComponentObject.update()

Update the Native Component in AEDT.

NativeComponentObject.update_property(...)

Update the property of the binary tree node.

Attributes

NativeComponentObject.available_properties

Available properties.

NativeComponentObject.children

NativeComponentObject.command

Command of the modeler hystory if available.

NativeComponentObject.definition_name

Definition name of the native component.

NativeComponentObject.name

Boundary Name.

NativeComponentObject.properties

Properties data.

NativeComponentObject.props

NativeComponentObject.targetcs

Native Component Coordinate System.