Light
@light
New Member
Joined: Feb 14, 2024
Topics: 6 / Replies: 370
Reply
RE: Function Help Please

If you want your fns to be loaded before UI is initialized, put your files into stdplugs\stdscripts. Light

19 years ago
Forum
Reply
RE: Dialog transparency?

Not that I know of. Light

19 years ago
Forum
Reply
RE: Want to put selected vert co-ords into array.

The order of vertices always sorted from the smallest to the biggest, because max returns them as bitArrays. So depending on the way you want to sort…

19 years ago
Forum
Reply
RE: Want to put selected vert co-ords into array.

Hi, You can write something like this: local arr = for i in (polyOp.getVertSelection selection[1]) collect (polyOp.getVert selection[1] i) Light

19 years ago
Forum
Reply
RE: Interface help

Hi, Try using Mass!ve [Light > Production Tools]. Light

19 years ago
Forum
Reply
RE: loop through selection of elements/faces

Hi, You can seperate the elements using polyOp.getElementsUsingFace fn and then loop through them. Light

19 years ago
Forum
Reply
RE: Wishlist for callbacks: Please list yours

Hey Joshua, Very nice stuff you have in your portfolio. Now tell me where did you get those photos? Light

19 years ago
Forum
Reply
RE: Wishlist for callbacks: Please list yours

I think callbacks for mouse clicks and key presses would be very useful, like: when the user double clicks, right clicks, presses C, etc. A callback t…

19 years ago
Forum
Reply
RE: Wishlist for callbacks: Please list yours

Hey Chris (what’s up?), Can I ask for a callback which returns true when say the user is double clicked in the viewport? If so, I will have to make a…

19 years ago
Forum
Reply
RE: Select polies with vertices > 4

Hi Sergey, You can check out the source code of Pola X if you want to see how to implement various kind of SO selections. Triangulation is pretty st…

19 years ago
Forum
Reply
RE: dockable CUI window

Yes PrettyPixel. Light

19 years ago
Forum
Reply
RE: MAXScript: Changing poly index

Hi, You need to recreate the mesh to do that. Light

19 years ago
Forum
Reply
Reply
RE: Maxscript Melting Pot: Post your hot functions

Hey PrettyPixel, You can also use the string method to compare arrays of any kind: fn theSame a b = (a as string) == (b as string) Light

19 years ago
Forum
Reply
RE: scripting book ???

Hi, I would recommend using the maxscript online reference. It is a good resource and is free. Light

19 years ago
Forum
Page 14 / 26