Fast Ref / API Reference / Manage

remove_reference()

Download Markdown

Removes the specified slot's reference. The reference's nodes, layers, and SelectionSets are deleted from the scene.

Signature

api.remove_reference(slot: int) -> dict

Parameters

Parameter Type Description
slot int Slot number to remove (0-9)

Return Value

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

Errors

Error Cause
TypeError slot is not int (including bool) [v2 added]
ValueError Slot number is invalid or empty

Example

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"

Note: No confirmation dialog is shown. Always verify the slot before calling.


💬

Need help with the API?

Open a support ticket or join the community discussion.

Contact Support