Serejah
@serejah
New Member
Joined: Feb 14, 2024
Topics: 34 / Replies: 1221
Reply
RE: MaxScript: Way to find all instances of a texturemap and define a material slot

it could be pretty easy if subNums were pointing at the right properties ( tex = Smoke() — #1 mtl = Standardmaterial() prop = #diffusemap setPro…

4 years ago
Forum
Reply
RE: Automatically Add Custom Attribute?

So CAs assigned only manually? It seems to ‘randomly’ call updateToolbarButtons from the first change handler when switching between materials in bas…

4 years ago
Forum
Reply
RE: Automatically Add Custom Attribute?

another option would be to subclass sme parameter editor window and check if CA is present at each repaint event parameters paint event ( local …

4 years ago
Forum
Reply
RE: Automatically Add Custom Attribute?

DaveWortley: I’m just curious to see if it can be done automatically? for sme you can try something like this, but I don’t know if it could provo…

4 years ago
Forum
Reply
RE: Automatically Add Custom Attribute?

If the presets will only be accessed manually through the max materials editor interface, it might be better to add CAs on demand when the user switch…

4 years ago
Forum
Reply
RE: How to create a node in the sme under mousepos

you can drop the map onto sme view check out this thread: Drag and drop from winform to material editor It is also possible to get the coords directl…

4 years ago
Forum
Reply
RE: Simple Grab Viewport script

Read about viewport.getViewportDib in mxs reference. Bitmap Value section of the reference contains a few examples how to load and save max bitmaps.

4 years ago
Forum
Reply
RE: Splitting an object in a specific way?

You could perhaps try to explode floor plan into a smaller rectangular shapes and then combine adjacent shapes for every room separately. But you’ll h…

4 years ago
Forum
Reply
RE: Splitting an object in a specific way?

It isn’t quite clear where yellow lines should go and why.

4 years ago
Forum
Reply
RE: Scale segments of splineshape

In case of operation on more than one segment/spline I wouldn’t recommend to use XForm at all. Modify panel updates will slow down things drastically….

4 years ago
Forum
Reply
RE: Scale segments of splineshape

Why don’t you just use the second method for move/scale/rotate instead?

4 years ago
Forum
Reply
RE: Scale segments of splineshape

season_X: How can I use maxscript to achieve it delete objects gc() — #1 r = Rectangle isSelected:true with redraw off ( convertToSplineSha…

4 years ago
Forum
Reply
RE: 3dsMax 2022 script compatibility

There should be an error message in maxscript listener with the source code line number and position where this error happens.

4 years ago
Forum
Reply
RE: What's wrong with my code? The buttons on the toolbar keep flashing after execution. Please help me

su37: Is there any other way to achieve this. thanks Serejah: You could replace .SetCheck call with the original command (max toggle keybo…

4 years ago
Forum
Reply
RE: What's wrong with my code? The buttons on the toolbar keep flashing after execution. Please help me

If you need to enable overrides for a particular modifier and certain subobjectlevels it could be achieved like this: Read on the differences between …

4 years ago
Forum
Page 23 / 84