visibility_isolate
Shows nodeIds normally and hides every other node in the scene, or with xray: true ghosts every other node ("isolate with context"); nodes added later are visible. Unknown ids are ignored and listed. Returns { hidden: count, xray: count, ignored }.
Usage
surface.execute('visibility_isolate', { nodeIds, xray? })Parameters
nodeIdsstring[]xrayboolean
Returns
object with hidden, xray, ignored, in the ok: true envelope.
{
"type": "object",
"properties": {
"hidden": {
"type": "integer",
"minimum": 0
},
"xray": {
"type": "integer",
"minimum": 0
},
"ignored": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"hidden",
"xray",
"ignored"
]
}