I finally made it using the example by Rodrigue Cloutier provided in ancient Descreet Sparks chm. sparks_archive.chm (3.3 MB) source ps. Why there’s…
Thanks a lot. Now it’s at least clear why I couldn’t make my methods exposed to mxs.
Ok. Guess I wasn’t clear enough. As I understand, your example is still about class instance property getters/setters and not about a class instance m…
I failed to find the correct includes to compile the above example so I have a question. Can the above class be extended to have public methods? So i…
fn rendProps = ( for p in getpropnames renderers.current collect (getproperty renderers.current p) ) fn compareProps = ( local i = 1 for p…
#include “RealWorldMapUtils.h” def_visible_primitive(MakeRWPlane, “MakeRWPlane”); Value* MakeRWPlane_cf(Value **arg_list, int count) { Object* pla…
gmlealll: if it’s possible to set the “Real-World Map Size” option when creating the plane ? use RealWorldMapUtils.h methods ( g = (dotNetClass…
Here’s how I did it. IMNMapFace mf = channel.F( f ); int[] ftVerts= new int[ mf.Deg]; Marshal.Copy( mf.Tv, ftVerts, 0, mf.Deg); I have anothe…
It is indeed pretty hard to make it work. GetNodeFromModContext from volumeselect modifier source (selmod.cpp) returns the correct node, unless I cop…
Thanks, but it is probably not what I need. Or I just don’t get it… My actual goal is to calc exact vert-vert distances between the mesh that has mod…
What if we have multiple nodes referencing a single modifier instance? How do we get self node in such case?
Yep, placing it into the ui was reckless for sure. Thanks for the code. upd. I’ve added postbuild event to hardcode the filetime attributes to keep t…
woohoo… it kinda works LoadDllsFromDir is the one to blame I have to load my plug manually through Customize > Plug-in Manager interface Thanks, K…
As I mentioned it didn’t work for me, for unknown reason I did these three steps manually, without any errors, but after step 3 max becomes unusable……