This is the complete code for a function to test if an object is an editable_poly object or an editable_mesh object: To use it just write in MaxScrip…
Small things I found: If you want to use strings you have to use max own string include. #include “Numbers.h” // for handling of maxscript Integers …
Be careful with undo in big loops, it gets very slow and can demand so much memory so max crashes. Undo doesn’t always work as expected, but I would e…
Do something like this classOf($.baseObject)==Editable_Poly classOf($.baseObject)==Editable_Mesh /Andreas
It’s pretty easy. You find a tutorial here: Good Luck /Andreas
Glad it worked. If you find any better ways of doing it please tell. I just added it so haven’t tested it that much. It seems to work fine though. /A
fn FW_ToolsUndoDelete theNode= ( if theNode==FW_MotherObject and FW_DetailMode then ( qDelete=queryBox “Are you sure you want to delete the Detai…
Undo doesn’t work for everything I’m afraid. What exactly is it that you would like to undo? I experimented a little with theHold, but left it alone …
I assume you mean MaxScript and not the SDK (that is in c++). Look in the help for Editable_Mesh and detach Here is an example of something similar …
Just a thought. Maybe the problem is created partially by the render callback. Perhaps you can instead change the geometry with the script and then c…
I know you can adjust the height of the rollouts when they are in a floater, but i’m not sure about the width. Myself I rarely use the RolloutFloater …
Something is clearly not defined where it should be. This is a very common problem when programmin maxScripts. Every function, rollout etc has to be …
It’s easy to benchmark things in Max. Just do something like this to benchmark the operation: benchStart=timestamp() for i=1 to 100000 do a…