j-man
@j-man
New Member
Joined: Feb 14, 2024
Topics: 9 / Replies: 449
Reply
RE: messagebox width?

and there it is <: J.

13 years ago
Forum
Reply
RE: messagebox width?

You could also display the complete filename and only truncate the path using: filenameFromPath and getFilenamePath to seperate the filename and pa…

13 years ago
Forum
Reply
RE: messagebox width?

Hi, How about truncating the text? You can test it’s width in pixels and then delete some letter in the middle until it fits str=”This is a very l…

13 years ago
Forum
Reply
RE: Stop Code execution!!!

LOL thanks Denis (I think). I chose to keep it simple (and un-optomised) but history tells me that no matter how far I may optomise something you wil…

13 years ago
Forum
Reply
RE: Stop Code execution!!!

Hi, You can exit a sub-routine early by using the exit command. ( format “Starting code. ” x=0 for i=1 to 1000 do ( x+=1 r=(random 0 10) …

13 years ago
Forum
Reply
RE: Add code to existing plugin

Let us know what you find out! J.

13 years ago
Forum
Reply
RE: Add code to existing plugin

It depends, You can write scripted plugins that expland on existing maxclasses, but to be honest they can be a bit limited (or sometimes just the thi…

13 years ago
Forum
Reply
RE: effects channel

Hi Denis, Yep, that will do it, thanks. J.

13 years ago
Forum
Reply
RE: effects channel

Thanks, I was looking at Johans code for the answer but it was not immediately obvious to me matIDs=#{} for mat in material.classes where (local ma…

13 years ago
Forum
Topic
13 years ago
Forum
Replies: 5
Views: 18
Reply
RE: using maxscript to switch off mat displacement

Hey Johan I’m not going head to head with you, I’ll be blown out of the water! <: J.

13 years ago
Forum
Reply
RE: using maxscript to switch off mat displacement

Geez, and I gave you all of the clues! item=Arch___Design__mi for n in (getclassinstances item) do n.displacement_map_on=false Works on every in…

13 years ago
Forum
Reply
RE: using maxscript to switch off mat displacement

Hi Sandy, This is actually a bit tricky, as there are many different types of materials and not all of them have this property .texmap_displacement_o…

13 years ago
Forum
Reply
RE: Select objects

Hi, There is an example in the MXShelp on the layermanager that shows you almost exactly how to do this. J.

14 years ago
Forum
Reply
RE: Question about case expressions

Hi, I think no. If you want two differnt results to perform the same action then call a function from your case expression fn result test=format “t…

14 years ago
Forum
Page 1 / 31