BipedPlus API (Beta) / API Reference / Rig

inspect()

下载 Markdown

只读取绑定状态,不改动它。

签名

rig.inspect() -> dict

没有参数。

返回值

{
    "success": True,
    "message": "",
    "data": { ... },
}

data 和 rig.data 是同一份内容。

键 含义
com namespace info top_grp 绑定的名字
has_rig 有 INFO 或顶层组时为 True
height_cm 身高。没有则是 None
biped_style 样式。没有则是 None
spine_count neck_count leg_links 结构
arm_twist_seg leg_twist_seg 分段
extras 已安装附加模块名列表。没有则是 []
license_version 缓存的许可证。没有则是 None

场景里读不到的值会保持 None。

示例

from os_bipedPlus import openAPI

api = openAPI()
rig = api.scan()
info = rig.inspect()
print(info["data"]["leg_twist_seg"], info["data"]["extras"])

💬

Need help with the API?

Open a support ticket or join the community discussion.

联系支持