Skip to main content

add_component_rassembly

Kind: Function
Domain: Assembly
Canonical import: from cadflow import add_component_rassembly

Signature

def add_component_rassembly(assembly: 'Assembly', item: 'Union[Part, Assembly]', component_id: 'str', placement: 'Placement', name: 'Optional[str]' = None) -> 'Assembly'

Description

Add a placed Part or subassembly component instance to an Assembly.

Parameters

NameTypeRequiredDefaultSource description
assembly'Assembly'yes-Not explicitly described in the source docstring.
item'Union[Part, Assembly]'yes-Not explicitly described in the source docstring.
component_id'str'yes-Not explicitly described in the source docstring.
placement'Placement'yes-Not explicitly described in the source docstring.
name'Optional[str]'noNoneNot explicitly described in the source docstring.

Returns

Type: 'Assembly'

The source docstring does not declare additional return semantics.

Errors

The source docstring does not declare a narrower exception contract. Invalid types, values, ownership, paths, or backend state may still raise the corresponding public error.

Behavior and constraints

  • The contract below is generated from the current public runtime signature. Check domain notes for ownership and workflow constraints.

Import check

from cadflow import add_component_rassembly

See also