Exporting - How To Keep The Maya Namespace #4283
-
|
I'm certain that there is (or used to be) a way in Maya to export USD Prims including the original Maya name but now that I'm trying to do it again, I'm forgetting the exact way. The output would be roughly The translator would convert Does anyone know the way to handle that? I'm checking around the export options but so far haven't found how that's done yet. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hi @ColinKennedy , I know that in the UI for export MayaUSD has the option to include namespace on export however, what this does is it just takes the namesspace and adds it to the name of the defined prim. For example (mayaNamespace:spherePrim would become mayaNamespace_spherePrim. However, by default it does not save a custom attribute, however, this could potentially be possible with an import\export schema: https://github.com/Autodesk/maya-usd/blob/dev/lib/mayaUsd/fileio/doc/SchemaAPI_Import_Export_in_Python.md |
Beta Was this translation helpful? Give feedback.
Hi @ColinKennedy , I know that in the UI for export MayaUSD has the option to include namespace on export however, what this does is it just takes the namesspace and adds it to the name of the defined prim. For example (mayaNamespace:spherePrim would become mayaNamespace_spherePrim. However, by default it does not save a custom attribute, however, this could potentially be possible with an import\export schema: https://github.com/Autodesk/maya-usd/blob/dev/lib/mayaUsd/fileio/doc/SchemaAPI_Import_Export_in_Python.md