( local fmt = format , clsOf = classOf for i in selection do ( fmt “Object Name : % | Class : % ” (i.name) (clsOf i) ) )
showproperties can help too
some can some not …I believe if you use “lambda” in c#, it’ll hard to use it directly using maxscript but if its some native method that max c# versi…
public static string sayHelloWord (string str) { string hell= str; return hell; // if you want just say string // returned ex:str= “hello” in maxscri…
you should define strArr first as empty array , since you use “if – do” like this may be [B]strArr = “”[/B] — define strArr as empty string — th…
I wonder whats the purpose behind of doing this ? I dont see this will speed up workflow of doing thing in ms-ing, a riddle scripting, or is this to m…
Hope it help ( — select something first local lay = “practice” local newLay = LayerManager.newLayerFromName lay for i in selection do newLay.addNod…
Its matter… Coz different renderer had different mat that they support as default, put it vray, people that use vray mostly use vraymtl, when you r…
what renderer are you using ?
Hope it help… try (frm.close()) catch() frm = dotNetObject “form” frm.FormBorderStyle = frm.FormBorderStyle.FixedSingle –or you could use –frm.M…
I suggest the easiest way is to make ui… Using listview would be great but unfortunately i cant do that right now coz im on vacation. You could find s…
@manue, please use code wrapping before you writte the code, like this “[-code]–your code[-/code]”… Without strip… To make the code look “beautiful”…
hope this’ll help theFiles= getfiles ((GetDir #autoback)+ “\\*.max”) — change it to your directory dateFiles= for i in theFiles collect #(i,getFil…
still worth it…even 5 or so years ago…as long as you understand the basic …it ll became your step stone on your later…
— this is basic idea, i havent tried it yourfiles=#(“Z:\\ModelPath\\ModelName.max”,”Z:\\ModelPath\\ModelName.max”) — insert yourfile name here wit…