Macro Language Reference > Macros > Page > tpgoto
  
tpgoto
Description
Moves between the current page and another page, an overlay, underlay, or pasteboard.
Syntax
tpgoto page_num:n? pages:t? page_name:n? view_no:n? lay_name:n?
tpgoto
[no parameter]
Invoke the tpgoto dialog box.
page_num
The page number to access.
* 
The maximum number of pages allowed in an PTC ALD document is 2,147,483,647.
pages
The number of pages to move backwards (-) or forwards (+). If a number is not specified, pages defaults to a value of 1.
page_name
Name of page to access : can also be the name of an PTC ALD pasteboard. You can change the default dimensions of the pasteboard (i.e. 500 x 500mm) by using tpgoto followed by tpsize.
A page_name that consists only of a space will de-select the over/underlay and select the current page.
view_no
The number of the alternate view to access. For example, if you wanted to print page 5 at alternate view 1, the syntax would be:
tpgoto 5;1 tprint 5
lay_name
The over/underlay page to be prepared for editing. You will only be able to edit the frames (and their contents) of the over/underlay if it is on the current page. If it is not on the current page you will still be able to carry out a restricted range of editing commands, such as changing the page size.
Additional Information
It is also worth noting that if you have specified tpgoto "header" and then you want to go back to the page it is not possible to specify tpgoto page. Instead you must use double quotes, i.e. "page" : you will then be ready to draw a frame on the basic page.
Related Links