Entity.SetVisibility Method
Public Sub SetVisibility( _
ByVal status As Boolean, _
ByVal parents As Stack(Of BlockReference) _
)
This language is not supported or no code example is available.
Parameters
- status
- bool
The visibility status
- parents
- Stack<BlockReference>
The parents stack, stored in the entity, that define a nested instance
To change the status of a single instance use a full stack of parents starting from the root level. To change the status of all specified instances of the entity inside a given block use a partial stack of parents starting from the block level.
The parents stack is not cloned, it's stored in the entity and used to check the visibility.