ALIGN_SELECTED ​
ALIGN_SELECTED aligns the selected objects in the model passed with modelid vertically or horizontally.
Syntax ​
leo-grammar
CC "Modeling" ALIGN_SELECTED [ modelid:idValue ] Align .
Align : vertically | horizontally .
# --> RESULT ecode:intValue .
Parameters ​
modelid
(idValue, optional) - modelIdvertically
(modifier) -horizontally
(modifier) -
Returns ​
ecode
(intValue) - Contains the error code or is 0 in case of success.
Details ​
If no modelid is passed, the current active model will be taken.
The object to align to should have the focus.
The return value ecode is set to 0 if the the command worked, to 1 if an error occured.
See Also ​
Examples ​
asc
CC "Modeling" SELECT_ALL
CC "Core" GET_ALL_OBJS modelid:(VAL modelid)
CC "Modeling" SET_FOCUS_NODE objid:(VAL token(objids, 1, " "))
CC "Modeling" ALIGN_SELECTED horizontally
Versions and Changes ​
Available since ADOxx 1.3