MasterComponent
#
- class ansys.geometry.core.designer.part.MasterComponent(id: str, name: str, part: Part, transform: ansys.geometry.core.math.matrix.Matrix44 = IDENTITY_MATRIX44)#
Represents a part occurrence.
- Parameters:
Notes
This class should not be accessed by users. It holds the fundamental data of an assembly. Master components wrap parts by adding a transform matrix.
Overview#
Import detail#
from ansys.geometry.core.designer.part import MasterComponent
Property detail#
- property MasterComponent.occurrences: list[ansys.geometry.core.designer.component.Component]#
List of all occurrences of the component.
- property MasterComponent.transform: ansys.geometry.core.math.matrix.Matrix44#
4x4 transformation matrix from the master part.