MaxwellParameters#

class ansys.aedt.core.modules.boundary.maxwell_boundary.MaxwellParameters(app, name, props=None, boundarytype=None)#

Manages parameters data and execution.

Parameters:
appansys.aedt.core.maxwell.Maxwell3d, ansys.aedt.core.maxwell.Maxwell2d

Either Maxwell3d or Maxwell2d application.

namestr

Name of the boundary.

propsdict, optional

Properties of the boundary.

boundarytypestr, optional

Type of the boundary.

Examples

Create a matrix in Maxwell3D return a ansys.aedt.core.modules.boundary.common.BoundaryObject

>>> from ansys.aedt.core import Maxwell2d
>>> maxwell_2d = Maxwell2d()
>>> coil1 = maxwell_2d.modeler.create_rectangle([8.5,1.5, 0],[8, 3],True,"Coil_1","vacuum")
>>> coil2 = maxwell_2d.modeler.create_rectangle([8.5,1.5, 0],[8, 3],True,"Coil_2","vacuum")
>>> maxwell_2d.assign_matrix(["Coil_1", "Coil_2"])

Methods

MaxwellParameters.create()

Create a boundary.

MaxwellParameters.delete()

Delete the boundary.

MaxwellParameters.join_parallel(sources[, ...])

Create matrix reduction by joining sources in parallel.

MaxwellParameters.join_series(sources[, ...])

Create matrix reduction by joining sources in series.

MaxwellParameters.jsonalize_tree()

Create dictionary from the Binary Tree.

MaxwellParameters.suppress_all(app)

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

MaxwellParameters.unsuppress_all(app)

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

MaxwellParameters.update()

Update the boundary.

MaxwellParameters.update_property(prop_name, ...)

Update the property of the binary tree node.

Attributes

MaxwellParameters.available_properties

Available properties.

MaxwellParameters.children

MaxwellParameters.command

Command of the modeler hystory if available.

MaxwellParameters.name

Boundary Name.

MaxwellParameters.properties

Properties data.

MaxwellParameters.props

Maxwell parameter data.

MaxwellParameters.reduced_matrices

List of reduced matrix groups for the parent matrix.