BipedPlus API (Beta) / API Reference / Rig

inspect()

마크다운 다운로드

리그를 바꾸지 않고 상태만 읽습니다.

시그니처

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.

문의하기