try to convert it using CustomMarshalerSimpleSpline from autodesk.max.wrappers.dll I believe there should be examples of how to use it stack…
According to sdk docs line derives from SimpleSpline, so in theory you should be able to cast/convert to it. In c# you can’t be sure whether it will w…
this should help
JimmyVera: I’m pretty sure this isn’t possible, but I thought I’d give it a go as I’ve been surprised before solution изображение.png697x131 10…
Sure. You simply hide that output pane control of mxseditor and create a WinForm control with the richtextbox. See MaxForm example in mxs reference Bu…
Each printed character in the listener/mxseditor has a style index assigned that defines which style is used to show it on the screen. Afaik you can’t…
I used this to convert colors to integer representation fn colorAsInt clr = ((int clr.r) + (bit.shift (int clr.g) 8) + (bit.shift (int clr.b) 16))
Actually it is possible to recolorize the output, but it could be quite slow if it is a lot of text Can’t share the code cause it depends on my c# dll…
InstanceMgr.autoMtlPropagation = false delete objects gc() t = Teapot() r = Standardmaterial diffuse:red g = Standardmaterial diffuse:green b = Stan…
Did you check existing editor methods ? Editor_GetDocumentFilename gives you the filename which you can use to open the script using Editor_EditFile…
oh indeed, according to shape class hierarchy it is not the case seems like it isn’t very useful in your case seems like updateShape method calls so…
3Dali: I also did not find maxscript updatedshape replacement in SDK there’s UpdateShape method in SimpleSpline class
Perhaps you should store the original Obj (IObject) pre converted to SplineShape in order to later restore it from inside RestoreObj::Restore method. …
I doubt max can magically restore the previous state of a node given only the handle to that node. It would require it to store a full copy of the nod…
I did only a couple of paid projects for all my scripting career. Tech Artist vacancies require too many skills that I wasn’t ever interested so I nev…