pltIPlotManager GetNumberOfEntitiesOnClipboard

Finds the number of objects on the clipboard.

Syntax

pltIPlotManager_handle GetNumberOfEntitiesOnClipboard type

Application

Tcl Query

Description

This command finds the total number of objects on the clipboard based on the type that you are looking for.

Inputs

type
The type of copied or cut item that you are looking for on the clipboard.
For example:
“page”
Input when you want to find the number of pages on the clipboard.

Example

hwi GetSessionHandle sess;
sess GetClientManagerHandle pm Plot;
pm GetNumberOfEntitiesOnClipboard page;

Errors

The number of objects or an error message is returned.

Keywords

Tcl

Query