Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

ttrGetCurrentScope

ttrGetCurrentScope(
)
=> l_scopeName / nil

Description

Returns the names of the active scopes. An active scope can be enabled for tracking by using the ttrStartTracking SKILL function.

Arguments

None

Value Returned

l_scopeName

The names of scopes, if they are active.

nil

No scope is being tracked.

Examples

The following code returns Scope1 as the name of the scope being tracked.

ttrStartTracking("Scope1")
ttrGetCurrentScope()
=>("Scope1")

The following code returns nil because no scope is being tracked.

ttrStopTracking("Scope1")
ttrGetCurrentScope()
=>nil

Related Topics

Time Tracker Functions


Return to top
 ⠀
X