Skip to content

USD_UserExportedAttributesJson write custom Data #4606

Description

@vcandelam

Currently when using the USD_UserExportedAttributesJson attribute to tag custom attributes in an object to export, only already recognized attributes by the plugin like usdAttrName or usdAttrType are used, the rest of the keys are discarded.

It could be useful to have the rest of non recognized attributes as customData of the usd attribute, for example:

USD_UserExportedAttributesJson in a pPlane1 mesh writing my_attibute_one of type int:
{ "my_attribute_one" : { "usdAttrName" : "attrOne", "affectsSubasset" : True } }

Would result in:

def Mesh "pPlane1" { custom int attrOne = 0 customData = { bool affectsSubasset = True }

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions