::hwp::GetPage

Gets a page handle.

Syntax

::hwp::GetPage

Application

HyperWorks Tcl Query

Description

This procedure implements minus options.

This procedure returns a page handle of HyperGraph/HyperView/MotionView.

If no page is requested, then it returns the page handle of the current/active page.

The option "-byHandle" is an exclusive option (no other minus options are allowed).

Mandatory Arguments

None.

Optional Arguments

-page "pageID"
The page ID of the requested page.
-byHandle "handle"
A handle created with these tools and which contains a page ID.

Returns

Returns a page handle.

Examples

set page3Handle [::hwp::GetPage -page 3]
set activePageHandle [::hwp::GetPage]