hwIPage GetNumberOfLayers

Returns the number of layers referenced by this page.

Syntax

hwIPage_handle GetNumberOfLayers

Application

HyperWorks Tcl Query

Description

Returns the number of layers referenced by the page.

Example

To determine the number of layers referenced by the first page:
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page1 1
page1 AddLayer [proj AddLayer]
page1 GetNumberOfLayers

Error

None.