Skip to content
Development version. Forge is under active development and testing. APIs, behaviour, coverage and verification results may be incomplete or change without notice; published PASS results are not a support guarantee or production-readiness claim.

Occurrence.copy

Create another occurrence of the same reusable definition.

Related guide

Signature

Occurrence.copy(self, *, name=None, placement=None)

Use when

Reuse one component definition for another physical occurrence.

Limits

Attachment state is occurrence-specific and is not copied.

Parameters

  • name — Optional explicit Forge name for the new occurrence.
  • placement — Optional absolute Placement for the new occurrence. When omitted, the source placement is inherited.

Example

right = left.copy(name="right", placement=Placement(x=160))