最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - What is the meaning of the "[0]" in cmds.circle()[0]? - Stack Overflow

programmeradmin2浏览0评论

I am a beginner in Autodesk Maya scripting in Python. I would like to ask as in the title why commands like cmds.circle or cmds.polycube have a "[0]" at the end when assigning it to a variable?

For example:

cube = cmds.polycube()[0]
circle = cmds.circle()[0]

It might be a basic question, but I would like to know what it means. Thank you!

发布评论

评论列表(0)

  1. 暂无评论