Notifications
Clear all
[Closed] Problems with calling Mixin Interface inherited from IObject in maxscript
Mar 23, 2022 6:08 pm
I am using the autodesc tutorial to create a c++ functions library to call in maxscript. It seems to me, that there is some kind of mistake in the tutorial . I’m new to maxscript language, but part f = getFoo $
just makes no sense to me. Can somebody tell me whether i wrong or not?
Here is my c++ code in case it needed
GupFunctionLibrary.h
GupFunctionLibrary.cpp
2 Replies
Mar 23, 2022 6:08 pm
The dollarsign “$” in maxscript holds the current selected object or array of objects, if multiple selected.
getfoo $ passes the selection as argument to the function “getfoo”.
The returned value of this function will be assigned to f.