Skip to main content

loa assets create

loa assets create​

Create a new asset from a file

Usage​

loa assets create [<assetReference>] [--asset <asset>] [--version <version>] --file <file> [--type <type>] --visibility <visibility> [--license <license>] --org <org> --project <project> [--description <description>] [--metadata <metadata>]
ArgumentTypeRequiredDescription
assetReferencestringNoAsset name with optional @version
FlagTypeRequiredDescription
--assetstringNoBare asset name (alternative to positional reference)
--versionstringNoExact major.minor.patch version
--filestringYesPath to file to upload; Aliases: f
--typestringNoAsset type (inferred from file extension when omitted; .ies creates LIGHT); Choices: MODEL, MATERIAL, IMAGE, SCENE, ENVMAP, CAD, LIGHT
--visibilitystringYesAsset visibility; Choices: PRIVATE, UNLISTED, PUBLIC
--licensestringNoShare license; Choices: NONE, CC_0, CC_BY, CC_BY_SA, CC_BY_NC, CC_BY_NC_SA, CC_BY_ND, CC_BY_NC_ND
--orgstringYesOrganization name
--projectstringYesProject name
--descriptionstringNoDescription
--metadatastringNoMetadata as a string (max 10240 characters)