PM_VIEW_EXISTS

Syntax

int_val = PM_VIEW_EXISTS ( name, in_active_drawing );
Input arguments
string name Name of the view.
int in_active_drawing Flag value. If 'in_active_drawing' is true, then the active drawing is tested. Otherwise work views are tested.

Return Values

Success:
int 0 View does not exist or script interface error.
int 1 View exists.

Description

This function tests if a given view exists. The view names map directly to file names in the file system, so you cannot have the views "Top" and "top", for example.