sub_components#

property MCADAssembly.sub_components#

Return a combined dictionary of all top-level subcomponents.

Provides a unified view of both ECAD and MCAD subcomponents in the assembly. When keys overlap, ECAD components take precedence.

Returns:
dict[str, MCADComponent | ECADComponent]

Dictionary combining ECAD and MCAD subcomponents. Keys are component instance names and values are the component objects. ECAD components override any MCAD components with the same key.