pltIPlot GetNumberOfEntitiesOnClipboard

Finds the number of objects on the clipboard.

Syntax

pltIPlot_handle GetNumberOfEntitiesOnClipboardtype

Application

HyperWorks 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, note. Note is input when you want to find the number of notes on the clipboard.

Example

hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;
w1 GetClientHandle plot;
plot GetNumberOfEntitiesOnClipboard note;

Errors

Success (the number of objects on the clipboard) or an error message is returned.

Keywords

HyperWorks

Tcl

Query