Pjanssen
@pjanssen
New Member
Joined: Feb 14, 2024
Topics: 53 / Replies: 510
Reply
RE: Format not outputting what i've specified

Not sure if this is the cause, but you’ve commented out this line? –append ValArray strStore Also, casting the ValArray items to string seems redun…

14 years ago
Forum
Reply
RE: Creating toolbars and hotkeys – Open Source .NET Library – Looking for contributions!

Comboboxes should definitely be possible. They are not supported yet though. But it would be great if you, or someone else, could look into how they a…

14 years ago
Forum
Reply
RE: Creating toolbars and hotkeys – Open Source .NET Library – Looking for contributions!

I’ve refactored the CuiFile code to make it a bit more flexible and solid. For one the test code is extended and covers more of the code. And you can …

14 years ago
Forum
Reply
RE: Creating toolbars and hotkeys – Open Source .NET Library – Looking for contributions!

I’ve decided to move the ScriptCenter project from google code to github: And I’ve decided to change the license from a somewhat restrictive GPL to t…

14 years ago
Forum
Reply
RE: Creating toolbars and hotkeys – Open Source .NET Library – Looking for contributions!

edit: I’ve moved the documentation to github: Example (assigns convert to poly to Alt+Shift+C): ( dotnet.loadAssembly “ScriptCenter.Max.dll” local…

14 years ago
Forum
Reply
RE: Creating toolbars and hotkeys – Open Source .NET Library – Looking for contributions!

edit: I’ve moved the documentation to github: Example, creating a small toolbar and adding two buttons and a separator to it. ( dotnet.loadAssem…

14 years ago
Forum
Reply
RE: Maxscript Transform

Ah nice. I searched the docs for a min/max function, but for some reason amin did not come up. Should remember that one

14 years ago
Forum
Reply
RE: Maxscript Transform

The nested loop is redundant. For one the second loop overwrites the value of i, and you’re looping over theArray02 n times, where n is the length of …

14 years ago
Forum
Reply
RE: Quick Question Apply material with max script?

Hm, this is a bit of a guess, but could it be that “head_no_logo” isn’t actually in the scenematerials array because it is a submaterial? Try executin…

14 years ago
Forum
Reply
RE: Quick Question Apply material with max script?

Well it is nigh-impossible to debug code from just those 10 lines. As I said, the material assignment statements seem fine, so it is probably a proble…

14 years ago
Forum
Reply
RE: Quick Question Apply material with max script?

The assignment code itself looks fine. However, I suspect your issue might lie in the “if logo03 == 3 then” part. What’s logo03? And why do you compar…

14 years ago
Forum
Reply
RE: Bitmap Magic Number

That is curious indeed. Unless you really want the sunken edge, you could use an imgTag instead. In there you can control the color value to be treate…

14 years ago
Forum
Reply
RE: mzp.run: fileIn, run,drop folder/file.ms not working

Maybe my previous ‘requirement’ was not entirely complete. When I drop or manually run the mzp, in addition to the “install struct”, I also want to ru…

14 years ago
Forum
Reply
RE: mzp.run: fileIn, run,drop folder/file.ms not working

Sorry, that’s not what I’m after. What I want is to execute a script in these three cases: -The mzp is dropped into max (i.e. the drop command) -The m…

14 years ago
Forum
Page 10 / 38