Skip to content

Create usd stage from file using python #1847

Answered by brycegbrazen
raphaeljnwave asked this question in Q&A
Discussion options

You must be logged in to vote

@raphaeljnwave Have you tried doing this?

shape_node = cmds.createNode('mayaUsdProxyShape')
cmds.setAttr('{}.filePath'.format(shape_node), filename, type='string')

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@raphaeljnwave
Comment options

@ppt-adsk
Comment options

@raphaeljnwave
Comment options

Answer selected by raphaeljnwave
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants