Good work man. Keeping the software compatible with Max 3 to 9 is admirable. Light
Hi, Try this: ( local sel = selection[1].modifiers[1] local verts = #(11, 12) local v1 = [1,0,0] local v2 = normalize ((sel.GetVertexPosition 0 vert…
You can also use the isFrozen property on an array of objects, which would speed things up a little bit. Light
Hi, How about freezing everything except the objects with the specified name? Frozen objects can also be made to look like they are not frozen, so I …
Hey man, Msdn is really good for the .net stuff: Light
There is a setting in Orionflame 4 Chamfer, that does something similar. I tried several methods and found something that really gives nice edges when…
Hi, Try this: findItem angle (amin (for i = 1 to dist.count where dist[i] == amin dist collect angle[i])) Light
You can do it using a DataGridView, or hack around it using multiple TreeView controls as I did with LayerMan. Light
Hi, A good way to break a while loop is to set it’s test expression to true after a certain amount of time has passed, as in: local intCount = 100 l…
Try this: fn printObjectNames theClass = for i in theClass do print i.name printObjectNames geometry printObjectNames lights Light
Hi, I guess you are typing the class name as a string. Try this: for i in geometry do print i.name Light
Hey Michele, If you want, you can download Supra [from Light > Production Tools], as it already has a method to populate a TreeView ActiveX with r…
Hi Michele, Considering getOpenFilename dialog returns the value directly rather than an array, I think it’s safe to say it doesn’t have multiple opt…
Hi Matt, This method is on top of my head, so it might not be the fastest: fn getMajorityIntegerElement arr = ( local countArr = for i = 1 to …
Hi, As James mentioned, you have to do it yourself. You can use a treeview to use its scrollbar to move the controls up or down. Have a look at Layer…