HalfVector
@halfvector
New Member
Joined: Feb 15, 2024
Topics: 3 / Replies: 189
Reply
RE: how to close all oppened windows in max (ie: material editor and render scene dialog)

I think this should work: macroScript ShowWindowsToggle category:”HalfVector Tools” buttonText:”Show windows toggle” ( global WM_SYSCOMMAND = 0x0…

19 years ago
Forum
Reply
RE: how to close all oppened windows in max (ie: material editor and render scene dialog)

Jajaj…ok, you’re welcome. By the way. As you can send any message to the window, you could close them if you will: global WM_SYSCOMMAND = 0x0112 glo…

19 years ago
Forum
Reply
RE: how to close all oppened windows in max (ie: material editor and render scene dialog)

Ok, I’ve developed an extension for MAXScript using C++ that gathers the handles to the opened (and not minimized) child windows (it only gathers “min…

19 years ago
Forum
Reply
RE: how to close all oppened windows in max (ie: material editor and render scene dialog)

Exists a way and is enumerating MAX child windows using the Win32 API and C++ and storing the window handles in an array. Now that you have the window…

19 years ago
Forum
Reply
RE: Getting SPLINE ID based on KNOT selection

One solution could be loop through all the shape splines and find out the first spline with some knot selected. This is the function: fn getFirstSele…

19 years ago
Forum
Reply
RE: Remove escape sequence from file path string

Here’s another function. It’s a bit more flexible in the way it lets you specify the tokens to be replaced and the character/string which will replace…

19 years ago
Forum
Reply
RE: initial dir in Max 7…

I’ve created a MAXScript extension with C++ (using the Win32 API) that mimics the behaviour of the standard getSavePath function in MAX8 but for MAX7 …

19 years ago
Forum
Reply
RE: initial dir in Max 7…

To extract the path from a full filename, you can use the function getFilenamePath: getFilenamePath “C:\\3dsmax\\images\\image.jpg” That will return…

19 years ago
Forum
Reply
RE: object pos = particle pos problem

Well, I’m not sure about this but anyway… Ok, seems like the position (particlePosition) of the particle in the Proceed method is not the position fo…

19 years ago
Forum
Reply
RE: object pos = particle pos problem

Hi. I think this should work. on Proceed pCont do ( — Array of objects global points = $Point* as Array — Particle count count = pCont.numPa…

19 years ago
Forum
Reply
RE: Delete Visibility Track

Hi. Well, I’m not that experienced with MAX SDK or MAX. Anyway, about the path constraint thing, I’m not sure it’s an easy thing. For example, imagin…

19 years ago
Forum
Reply
RE: Delete Visibility Track

I thought some comments would be nice to understand the source code!. Also, I’ve changed the output directories to Debug/Release folders. Much better,…

19 years ago
Forum
Reply
RE: Delete Visibility Track

I’m glad it works!. Here’s the source code for this little plugin. The main functionality is in the file delvistrack.cpp. As you can see is really si…

19 years ago
Forum
Reply
RE: Delete Visibility Track

Seems like you can’t delete the visibility track from the Track View through MAXScript. So I’ve created a MAXScript extension in C++ that exposes a f…

19 years ago
Forum
Reply
RE: A few basic script questions…

Hi. If you want to trim the full path: “C:\Projects\project\models\props_dev\dev_test.x” to: “props_dev\dev_test.x” You’ll have to specify what t…

19 years ago
Forum
Page 8 / 13