Add a subassembly to the current assembly. :param obj: subassembly to be added :param loc: location of the root object (default: None, resulting in the location stored in the subassembly being used) :param name: unique name of the root object (default: Non
(
self,
obj: "Assembly",
loc: Optional[Location] = None,
name: Optional[str] = None,
color: Optional[Color] = None,
material: Optional[Union[Material, str]] = None,
)
| 191 | |
| 192 | @overload |
| 193 | def add( |
| 194 | self, |
| 195 | obj: "Assembly", |
| 196 | loc: Optional[Location] = None, |
| 197 | name: Optional[str] = None, |
| 198 | color: Optional[Color] = None, |
| 199 | material: Optional[Union[Material, str]] = None, |
| 200 | ) -> Self: |
| 201 | """ |
| 202 | Add a subassembly to the current assembly. |
| 203 | |
| 204 | :param obj: subassembly to be added |
| 205 | :param loc: location of the root object (default: None, resulting in the location stored in |
| 206 | the subassembly being used) |
| 207 | :param name: unique name of the root object (default: None, resulting in the name stored in |
| 208 | the subassembly being used) |
| 209 | :param color: color of the added object (default: None, resulting in the color stored in the |
| 210 | subassembly being used) |
| 211 | """ |
| 212 | ... |
| 213 | |
| 214 | @overload |
| 215 | def add( |