Navigation
BlueprintAPI > BlueprintAPI/USD > BlueprintAPI/USD/PrimUtils
Duplicates all provided Prims one-by-one, performing the requested DuplicateType. See the documentation on EUsdDuplicateType for the different operation types.
The duplicated prims may be renamed in order to have valid names for the target location, which is why this function returns the pasted prim paths. This function returns just paths instead of actual prims because USD needs to respond to the notices about the created prim specs before the prims are fully created, which means we wouldn't be able to return the created prims yet, in case this function was called from within an SdfChangeBlock.
Target is Usd Conversion Blueprint Library
Inputs
| Type | Name | Description |
|---|---|---|
| exec | In | |
| string | Stage Root Layer | Path to the root layer of the stage from which we should fetch the Prims |
| string | Prim Paths | Prims to duplicate |
| enum | Duplicate Type | Type of prim duplication to perform |
| string | Target Layer | Target layer to use when duplicating, if relevant for that duplication type |
Outputs
| Type | Name | Description |
|---|---|---|
| exec | Out | |
| string | Return Value | Paths to the duplicated prim specs, after they were added as children of ParentPrim. |