DIAdem Help

Method: Exists for Areas

  • Updated2024-09-12
  • 1 minute(s) read

Method: Exists for Areas

Checks whether an area with a specific name exists in DIAdem VIEW.

bExists = Object.Exists(Name)
ObjectAreas
Object with this method
NameString
Specifies the name of the area.
bExistsBoolean
Specifies whether the area with the specified name already exists (TRUE) or not (FALSE).

The following example indicates whether an area exists:

VBScriptPython

 

Call MsgBox(View.ActiveSheet.Areas.Exists("Area1"))