 |
ALPHA-VISION® Functions: aci.Obj_IsRefObj
|
aci.Obj_IsRefObj
SUMMARY
Get the type of a data object
SYNTAX
aci.Obj_IsRefObj(
(<object number>|<point id>))
ARGUMENTS
- object number (type:number)
-
A data object number
- point id (type:string)
-
The name of a data object
RETURN VALUES
- 1 (type:boolean)
-
Returns
true if the given data object is a reference object.
EXAMPLES
for objnum = 0, 65535, 1 do --for all objects
local type = aci.Obj_Type(objnum)
if type == OBJ_TYPE.SO then
-- do something only for system objects
end
end
Syntax Notation
- [aaa]
- aaa is optional (zero or one occurences)
- (aaa|bbb)
- aaa exclusive or bbb
- (aaa)*
- aaa may occur indefinitely often or may be omitted
- (aaa)+
- aaa may occur indefinitely often but at least once
- (aaa)m..n
- aaa may occur from m to n times