ObjShow

ObjShow lists the handles, class names and names of all objects.

bool = ObjShow()
bool = ObjShow(handle)
bool = ObjShow(ssClassName)
bool = ObjShow(handle, ssClassName)

Return Value

If the function succeeds, the return value bool is TRUE (1); otherwise it is FALSE (0).

Parameters

handle

handle is a handle.

ssClassName

ssClassName is a class name.

Comment

If the function is called without parameters, it will show the handles, class names and object names of all objects.

If the function is called with a class name i.e. "OBJ_DOCUMENT", "OBJ_LAYER", "OBJ_TEXT", "OBJ_XYDATASET", "OBJ_XYZDATASET" the function will get the handles, class names and object names of the chosen class.

If the function is called with a handle, it will get the object.

If the function is called with a handle and a class name, it will get the first object from the class that has the given handle. Example: If 17 is the handle of a diagram (OBJ_LAYER), then ObjShow(17, "OBJ_TEXT") will get the diagram’s first text object.

id-1642753