this should do what you want for any material type fn CleanMaterial mat = ( for i = 1 to getNumSubMtls mat do ( subMat = getSubMtl mat i …
delete the macroscript file. restart max
bm1 bitmap 256 256 filename:”C:\Alpha.tga” means that you are creating a new bitmap which would be saved to the file: C:\Alpha.tga IF you wrote: sa…
too bad its an encrypted script, I would love to learn about the algorithm to make this work
i believe you’re looking for: <Control>.BeginInvoke() MSDN has an example: EDIT: or maybe <Control>.Invoke() MSDN example:
DaveWortley: Lol, to confirm… I want double click and right click options…. well like I said before, I couldn’t get the double click to work w…
can’t get it to work for a button either but it does work for a PictureBox EDIT: I just re-read your post – you say you want a single click AND doubl…
after googling “c# get file associations” and poking around i found this nice dll at codeproject download the dll and then getting the path to the 3d…
you need to use:
PEN: if you’re interested in speed, my guess would be that formatting everything to a stringstream and then formatting the resulting stringstream t…
ok so my next guess is that cam->GetFOV(t) returns the vertical FOV where as cam.fov in maxscript returns the horizontal fov. to get the vertical F…
EDIT: duplicate post…
I am not really familiar with the sdk but from the looks of your code I am guessing that cam->GetFOV(t) returns the angle in radians which is why y…
ah yes my bad. I don’t think its possible to access the ‘hidden’ edges in an editable poly so I’d use Denis’ mesh based function instead. What do you…
check all of them! this should to the trick: fn GetHiddenEdges poly faces = ( edges = polyop.getEdgesUsingFace poly faces for i in edges where poly…