system.kanoa.asset.copyAsset
Description
Makes a copy of the passed-in assetId. This will be an identical copy including all the child assets, links to modes, states, items, and attributes.Syntax
copyAsset(assetId, userId)Parameters:
Returns:
Code Examples
# Example Usage:
asset_id = 123
user_id = 456
new_asset_id = system.kanoa.asset.copyAsset(asset_id, user_id)