I’m new to SDK, but I started to learn it. We all know that in Maxscript we have:
getdir #maxroot
getdir #Scripts
getdir #UserScripts
etc.
I found in SDK help
virtual const MCHAR * GetDir (int i)=0
virtual const MCHAR *GetDir(int which)=0;
where 0 might be numbers according to this table:
For example
APP_SCRIPTS_DIR 15
APP_MAX_SYS_ROOT_DIR 20
APP_RENDER_OUTPUT_DIR 21
Please tell me how can I use this function in SDK.
I need a variable
char *b = getdir #APP_RENDER_OUTPUT_DIR
Thank you in advance.