Method that creates a new occurrence using an existing component. This is the equivalent of copying and pasting an occurrence in the user interface.
"occurrences_var" is a variable referencing an Occurrences object. |
"occurrences_var" is a variable referencing an Occurrences object. |
| Type | Description |
| Occurrence | Returns the newly created occurrence or null if the creation failed. |
| Name | Type | Description |
| component | Component | The existing component to create a new occurrence of. |
| transform | Matrix3D | A transform that defines the location for the new occurrence |
| Name | Description |
| Component Sample | Component related functions |