UserDefinedComponent#
- class pyaedt.modeler.cad.components_3d.UserDefinedComponent(primitives, name=None, props=None, component_type=None)[source]#
Manages object attributes for 3DComponent and User Defined Model.
- Parameters:
Examples
Basic usage demonstrated with an HFSS design:
>>> from pyaedt import Hfss >>> aedtapp = Hfss() >>> prim = aedtapp.modeler.user_defined_components
Obtain user defined component names, to return a
pyaedt.modeler.cad.components_3d.UserDefinedComponent
.>>> component_names = aedtapp.modeler.user_defined_components >>> component = aedtapp.modeler[component_names["3DC_Cell_Radome_In1"]]
Methods
Delete the object.
Duplicate the object along a line.
Duplicate and mirror a selection.
Duplicate the component around the axis.
UserDefinedComponent.edit_definition
([password])Edit 3d Definition.
Get 3d component file path.
Component history.
UserDefinedComponent.mirror
(origin, vector)Mirror a selection.
UserDefinedComponent.move
(vector)Move component from a list.
UserDefinedComponent.rotate
(axis[, angle, units])Rotate the selection.
Update 3d component definition.
Update the Native Component in AEDT.
Attributes
Get bounding dimension of a user defined model.
Get center coordinates of a user defined model.
Group the component belongs to.
3DComponent flag.
Layout component object.
Mesh assembly flag.
Name of the object.
Component parameters.
Dictionary of objects that belong to the user-defined component.
Target coordinate system.