Skip to content

Import from anonymous #1069

Answered by kxl-adsk
agelosc asked this question in Q&A
Discussion options

You must be logged in to vote

When I look at the job code, I'm having the impression that what you are trying to do might be possible. But clearly, the command expects you to pass the file path. Your above example fails during argument parsing, but when you fix it that and call cmds.mayaUSDImport(f=layer.identifier, primPath='/') you will get an error from this validation -

So to answer your question directly, this looks like a limitation.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by agelosc
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants