Fast Ref / API Reference / Manage

remove_reference()

마크다운 다운로드

지정된 슬롯의 레퍼런스를 제거합니다. 해당 레퍼런스의 노드, 레이어, SelectionSet이 씬에서 삭제됩니다.

시그니처

api.remove_reference(slot: int) -> dict

파라미터

파라미터 타입 설명
slot int 제거할 슬롯 번호 (0-9)

반환값

{
    "success": True,
    "message": str,
}

예외

예외 조건
TypeError slot이 int가 아닐 때 (bool 포함) [v2 추가]
ValueError 슬롯 번호가 범위를 벗어나거나 비어 있을 때

예제

from os_fast_ref.api import FastRefAPI

api = FastRefAPI()
result = api.remove_reference(slot=2)
print(result['message'])  # e.g. "Reference removed from slot 2"

주의: 확인 다이얼로그 없이 즉시 제거됩니다. 슬롯 번호를 반드시 확인 후 호출하세요.


💬

Need help with the API?

Open a support ticket or join the community discussion.

문의하기