GET_ALL_ATTRPROF_THREADS_IN_DIR ​
The command GET_ALL_ATTRPROF_THREADS_IN_DIR returns all attribute profile threads in the specified directory.
Syntax ​
leo-grammar
CC "Core" GET_ALL_ATTRPROF_THREADS_IN_DIR apdirid:idValue.
#-->RESULT ecode:intValue apthreadids:ids
Parameters ​
apdirid
(idValue) - the attribute profile directory is passed in the attribute apdirid.
Returns ​
ecode
(intValue) - the return value ecode is zero if command was executed sucessfully and non zero on failure.apthreadids
(intValue) - s, the return value apthreadids lists the ids of all attribute profile threads found in specified directory.
Details ​
See Also ​
Examples ​
asc
# get root directories
CC "Core" GET_ALL_ATTRPROF_SUBDIRS
# get all attribute profile threads in first root directory
CC "Core" GET_ALL_ATTRPROF_THREADS_IN_DIR apdirid:(VAL token(apdirids,0," "))
IF (ecode!=0)
{
CC "AdoScript" ERRORBOX ("Error in GET_ALL_ATTRPPROF_THREADS_IN_DIR!")
EXIT
}
CC "AdoScript" INFOBOX ("Folloing attribute profile threads were found in the root directory:\n"+apthreadids)
Versions and Changes ​
Available since ADOxx 1.3