ComponentArray#
- class ansys.aedt.core.modeler.cad.component_array.ComponentArray(app, name=None)#
Manages object attributes for a 3D component array.
- Parameters:
- app
ansys.aedt.core.Hfss
HFSS PyAEDT object.
- name
str
,optional
Array name. The default is
None
, in which case a random name is assigned.
- app
Examples
Basic usage demonstrated with an HFSS design with an existing array:
>>> from ansys.aedt.core import Hfss >>> aedtapp = Hfss(project="Array.aedt") >>> array_names = aedtapp.component_array_names[0] >>> array = aedtapp.component_array[array_names[0]]
Methods
Delete the component array.
Edit component array.
ComponentArray.export_array_info
([output_file])Export array information to a CSV file.
ComponentArray.get_cell
(row, col)Get cell object corresponding to a row and column.
Get cell position.
Get 3D component center.
Get model lattice vector.
Parse component array information from the CSV file.
Update component array properties.
Attributes
Length of the array in A direction.
Number of cells in the vector A direction.
List of name choices for vector A.
Name of vector A.
Length of the array in B direction.
Number of cells in the vector B direction.
List of name choices for vector B.
Name of vector B.
List of
ansys.aedt.core.modeler.cad.component_array.CellArray
objects.List of component names.
Coordinate system name.
Name of the array.
Number of padding cells.
Dictionary of each component's postprocessing cells.
Ordered dictionary of the properties of the component array.
Array rendering.
List of rendered name choices.
Array rendering ID.
Flag indicating if the array cell number is shown.
Flag indicating if the array is visible.