hwIProject MovePage

Moves a page.

Syntax

hwIProject_handle MovePagepage, destination

Application

HyperWorks Tcl Modify

Description

This command takes a page and moves it to a new location. If you move a page to a higher page number, all of the pages below that number shift down. If you move the page to a lower page number, all of the pages above that number shift up (to make room for the moved page and to fill up the space that is left by the moved page).

Inputs

page
The page number that you want to move.
destination
The page number that you want to move the original page to.

Example

hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj MovePage 1 3;

Error

Success (0) or an error message is returned.

Keywords

HyperWorks

Tcl

Modify