SkinLayerStudio API (Beta) / API Reference / API

pick_all()

下载 Markdown

只取入你点名的蒙皮网格。装载和工具栏 Pick All 一样,但没有勾选窗口。

空列表或字符串会在调用 DCC 之前返回 no_mesh。场景里没有这些名字也是 no_mesh。没点名的网格不会被取入。

放上多个网格之后,用 use 指定哪一个是当前的。apply_to_skin() 只写当前那一个。

签名

api.pick_all(names) -> result
字段 含义
ok 成功时为 True。
error 失败代码。成功时为空。不含路径。
no_mesh 名字是空的,或场景里没有这些网格。
no_dcc 没有连接 DCC。

示例

`python result = api.pick_all(["Body", "Shirt"]) print(result.ok, api.meshes())

💬

Need help with the API?

Open a support ticket or join the community discussion.

联系支持