Current_Scope - cUIObject
Returns the object_id of the currently active scoping object
Type: Property
Access: Read/Write
Data Type: Handle
Parameters: None
Syntax
Property Handle Current_Scope
| Access Type | Syntax |
|---|---|
| Read Access: | Get Current_Scope to HandleVariable |
| Write Access: | Set Current_Scope to HandleVariable/Value |
Description
The Current_scope property returns the object_id of the currently active scoping object. Setting this property causes the focus to move to the scope focus of the specified scope. If there are no scopes set in the program, the current_scope is the desktop. To set the current_scope, the object_id must name a currently active object that has its scope_state property set to true.
if (focus(desktop) = (current_scope(desktop)) send found_scope
set current_scope to zoom_panel