visibility_hide
Hides nodeIds (added to what is hidden), or with xray: true ghosts them (x-ray: drawn translucent, not pickable). Unknown ids are ignored and listed. Returns { hidden: count, xray: count, ignored }.
Usage
surface.execute('visibility_hide', { 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"
]
}