Custom attributes can be instanced so there is no direct reference to the node from the CA. I have gotten around this in the past by storing a weak r…
Surely the difference between distributing a maxscript file and a python module is only file size? You can even write a mxs script to install pip + nu…
Just to jump in – if your max version is 2018+ you can use the numpy/scipy ckdtree which is super fast: It is easier if you are 2021+ as you can ins…
Just in case you were wondering how to do this anyways – If you wanted to access a specific node on a modifier and thus it’s baseobject you can save a…
We have been using 2018 since 2017 with no major performance issues. The UI is clunky as the Qt transition has only just begun with 2018, but you can …
Use the pymxs.runtime module to execute maxscript as python: from pymxs import runtime as mxRt mxRt.QuitMax(Quiet=True, ExitCode=retVal)
I will take a look tomorrow when I can test in max. I have used bitmaps quite recently but my memory is shite these days so I cannot remember properly…
Sorry, I linked the wrong object. The error tells you the class type it is expecting, a Bitmap , so create one and assign it: bMap = BitMap FileName…
That should work.
What is the reason for wanting to use the unique flag? Custom attributes are local unless you give them an attribID in their definition: The docs p…
There is a CAT controller with an animated pivot point. I used it a few years ago to animate vehicle rigs being flipped. I can’t remember the name and…
To access maxscript in python you need to import pymxs and use the runtime module. For python to assign a variable to the runtime module, the variabl…
Ignore me, I found the correct way straight after replying to you! static bool applyOffsetToVerticesEPoly(INode* inNode, Point3 inOffset) { static b…
Hey Denis, Thanks for the reply. I have found a bit of type to try your suggestion but I cannot quite figure out how the EPoly interface works. It ca…
This is what I thought, I just wanted to make sure before I implemented undo logic myself.