Command Reference : Function Reference : Function Reference: G
  
 
@getthistype
Object type of active object (_this)
Syntax: @getthistype
Return: string
If no workfile is open, or if no object has yet been opened in a workfile, the function will return the string "NONE".
This latter behavior is in contrast to using the data member syntax “_this.@type”, which will generate an error in cases like this where the active object is undefined.
Cross-references
See also the @type data member of each object in “Object View and Procedure Reference”.
See “The Active Object Keyword” for a discussion of the _THIS active object.