Light
@light
New Member
Joined: Feb 14, 2024
Topics: 6 / Replies: 370
Reply
RE: LightRigger BETA

Good work man. Keeping the software compatible with Max 3 to 9 is admirable. Light

17 years ago
Forum
Reply
RE: round float value?

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…

17 years ago
Forum
Reply
RE: SetSelectFilter by obj.name

You can also use the isFrozen property on an array of objects, which would speed things up a little bit. Light

17 years ago
Forum
Reply
RE: SetSelectFilter by obj.name

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 …

17 years ago
Forum
Reply
RE: Good source for .net controls info?

Hey man, Msdn is really good for the .net stuff: Light

18 years ago
Forum
Reply
RE: Smart Chamfer?

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…

18 years ago
Forum
Reply
RE: Find shortest distance by angle?

Hi, Try this: findItem angle (amin (for i = 1 to dist.count where dist[i] == amin dist collect angle[i])) Light

18 years ago
Forum
Reply
RE: dotNet Question about Listview and Treeview

You can do it using a DataGridView, or hack around it using multiple TreeView controls as I did with LayerMan. Light

18 years ago
Forum
Reply
RE: How to stop running MaxScript

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…

18 years ago
Forum
Reply
RE: Alternative method to execute()?

Try this: fn printObjectNames theClass = for i in theClass do print i.name printObjectNames geometry printObjectNames lights Light

18 years ago
Forum
Reply
RE: Alternative method to execute()?

Hi, I guess you are typing the class name as a string. Try this: for i in geometry do print i.name Light

18 years ago
Forum
Reply
RE: Dialog to Pick Multiple .max Files

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…

18 years ago
Forum
Reply
RE: Dialog to Pick Multiple .max Files

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…

18 years ago
Forum
Reply
RE: Finding Mode of array (the most common value)

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 …

18 years ago
Forum
Reply
RE: "scrollPos" equivalent for Dialogs?

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…

18 years ago
Forum
Page 7 / 26