DreaTawn
@dreatawn
New Member
Joined: Feb 15, 2024
Topics: 3 / Replies: 33
Reply
RE: multiMaterial Append if ID is Unique?

Here’s a function to do that. fn fillMultimaterial multi = ( for i in 1 to multi.numsubs do ( if multi[i] == undefined then ( multi[i]…

13 years ago
Forum
Reply
RE: bones maxscript help

I haven’t tested this (I’m not in front of max), but I think it’s failing because you reset “test” to be an empty array inside the “for x in selection…

13 years ago
Forum
Reply
RE: Set Backburner job server limit from MXS

PiXeL_MoNKeY: On that note there is a python script posted to this forum that uses telnet to give you a little more control to backburner than you c…

14 years ago
Forum
Topic
Forum
Replies: 5
Views: 22
Reply
RE: splitting a mesh based on a similar mesh

Try replacing your error line with… r = ray (polyop.getFaceCenter i q) [0, 0, -1] Untested, as I don’t have Max in front of me, but it looks like it…

15 years ago
Forum
Reply
RE: output text file line end code LF instead of CRLF

Use hexadecimal \x0A instead of . Cheers, Drea

15 years ago
Forum
Reply
RE: Binary generator 0000001 input

I’m not in front of max so this is untested, but maybe something like… fn randBinary len = ( str = “” for i in 1 to len do ( str …

15 years ago
Forum
Reply
RE: Now load data from text file with Maxscript

There’s a couple of reasons it’s not working for you. First, in your position calculation, you’re subtracting the maximum value from the minimum to …

15 years ago
Forum
Reply
RE: Now load data from text file with Maxscript

The “+” characters in the data add a bit of a wrinkle and I’m not sure if I’ve interpreted what you’re doing with the pivot correctly, but this should…

15 years ago
Forum
Reply
RE: Turn off UI redraw

I think you’re after suspendEditing (remember to call resumeEditing afterwards). Cheers, Drea

15 years ago
Forum
Reply
RE: Collection of custom helpers from selection

Once there’s more than one test for the where, I like to put them all in a helper function. It helps keep your lines a bit more manageable. fn isMyTh…

15 years ago
Forum
Reply
RE: Collection of custom helpers from selection

Just one letter missing. allLight = for p in selection where classof p == XPlaneObj8Light collect p Cheers, Drea

15 years ago
Forum
Reply
RE: Question about A Maxscript

I think you might have better luck on one of the Relic Mods fora. Cheers, Drea

15 years ago
Forum
Reply
RE: Script written for Max 9 running slow/crashing in Max 2009

Max9: time:188 mats:100 time:265 mats:200 time:360 mats:300 time:469 mats:400 time:609 mats:500 time:703 mats:600 time:828 mats:700 time:1031 mats:800…

15 years ago
Forum
Reply
RE: selecting random elements in an array collection – help beginner

If you’re after a completely random selection something like this should work. select (for i in Array1 where random 0 1 == 1 collect i) Chee…

15 years ago
Forum
Page 2 / 3