KB-WORKSPACE class. A workspace has its own unique representation. Its appearance is not iconic.
The table of a KB workspace item appears as follows:
![]() |
The following table summarizes the class-specific attributes of the
KB-WORKSPACE class:
Actions that Apply to KB Workspaces
You can use the show and hide actions to control workspaces programmatically. For more information about these actions, see hide, and show.
Expressions that Refer to KB Workspaces
You can use the following expressions for KB workspaces.
To refer to whether a workspace has been activated:
kb-workspace has [not] been activated->truth-value
for any help-button B
if the subworkspace W of B exists and W has been activated
then start evaluate-status-of(B)
To refer to the workspace of an item:
the workspace [local-name] of item->kb-workspace
hide the workspace of pump-1
exists expression, as follows:
for any item X
if the workspace of X exists and the name of X is CUSTOM then
conclude that the status of X is OK
if rule checks each item that is upon a workspace, and for each such item whose name is CUSTOM, sets its Status attribute to the symbol ok.
To refer to the subworkspace of an item:
the subworkspace [local-name] of item->kb-workspace
show the subworkspace of pump-1
exists expression, as follows:
for any custom-object O
if the subworkspace of O exists and the name of O is custom
then conclude that the status of O is OK
if rule identifies each custom-object that has a subworkspace and, for each that does and whose name also is CUSTOM, sets its Status attribute to the symbol ok.
To refer to an item upon a particular workspace:
the class-name [local-name] upon kb-workspace->item
the quantifier, this generic reference expression produces the one and only item of the specified class that resides upon the specified workspace. With the any quantifier, this expression produces the set of items of the specified class that reside upon the specified workspace. For example:
move the help-button upon this workspace by (100,100)