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.

お問い合わせ