slate material editor: change the node default width?

slate material editor: change the node default width?

mpowers
Enthusiast Enthusiast
1,844 Views
11 Replies
Message 1 of 12

slate material editor: change the node default width?

mpowers
Enthusiast
Enthusiast

Is there a way to change the node default width to show the full name of the node in the slate material editor?

 

It would also be great if bitmap nodes would auto-name themselves to their bitmaps...

 

Thnx 

Mike Powers
Director of Animation \ Cramer

mpowers@cramer.com
https://vimeo.com/mpowers
3DBOXX W8920Processor 32.0 GB RAM
Dual Xeon CPU E5-2670 0 @ 2.60GHz, 2601 Mhz, 8 Core(s), 16 Logical Processor(s)
Windows 10 Enterprise - 1809
NVIADIA Dual RTX2080TI 11GB V 419.35
0 Likes
Accepted solutions (2)
1,845 Views
11 Replies
Replies (11)
Message 2 of 12

dominique.bouthillette
Autodesk Support
Autodesk Support

Hi @mpowers,

 

Thanks for the post!

 

You can change the default width of any node in the Slate Material Editor by clicking and dragging out the corner icon in the lower-right area of the node (marked with lines like this "////").

 

As for auto-renaming nodes with their current Bitmap names, it may only be possible via scripting. You might see this post from some other Max users on the topic here: Rename diffuse maps according to their bitmap name.

If this is a feature/toggle you'd like to see in the future within 3ds Max, please feel free to add it to the 3ds Max Ideas forum so others can vote for it there as well. Smiley Happy

I hope this can help!

 

slate material node.jpg

 

 

Please Accept as Solution if a reply has helped resolved the issue or answered your question, to help others in the community.

Kindest regards,


Dominique Bouthillette
Principal Specialist, Industry Support & Escalation
Entertainment & Media Solutions
0 Likes
Message 3 of 12

mpowers
Enthusiast
Enthusiast

Thnx Dominique,

I am currently doing that. However, I would like to change the default width which all nodes are created with. As they are rarely wide enough to read node names that are accurately descriptive. Also every time I neaten my nodes they revert to the too narrow state.

 

 

 

Mike Powers
Director of Animation \ Cramer

mpowers@cramer.com
https://vimeo.com/mpowers
3DBOXX W8920Processor 32.0 GB RAM
Dual Xeon CPU E5-2670 0 @ 2.60GHz, 2601 Mhz, 8 Core(s), 16 Logical Processor(s)
Windows 10 Enterprise - 1809
NVIADIA Dual RTX2080TI 11GB V 419.35
0 Likes
Message 4 of 12

dominique.bouthillette
Autodesk Support
Autodesk Support
Accepted solution

Thanks for the clarification on this @mpowers. I spoke with a few of my colleagues from the development team, and it seems this is not something that can be changed inside of 3ds Max (as a default parameter setting at least).

 

However, they did mention that it may be possible to change the default size of the node via scripting, as there is a .size value for nodes in SME (Slate Material Editor). This property can be found within the 3ds Max Help Documentation which may be helpful for a custom script: Interface: SME

 

SME: Interface: WndBaseSME: Interface: WndBase

Please Accept as Solution if a reply has helped resolved the issue or answered your question, to help others in the community.

Kindest regards,


Dominique Bouthillette
Principal Specialist, Industry Support & Escalation
Entertainment & Media Solutions
Message 5 of 12

mpowers
Enthusiast
Enthusiast

Thank you. That will work!

Mike Powers
Director of Animation \ Cramer

mpowers@cramer.com
https://vimeo.com/mpowers
3DBOXX W8920Processor 32.0 GB RAM
Dual Xeon CPU E5-2670 0 @ 2.60GHz, 2601 Mhz, 8 Core(s), 16 Logical Processor(s)
Windows 10 Enterprise - 1809
NVIADIA Dual RTX2080TI 11GB V 419.35
0 Likes
Message 6 of 12

dominique.bouthillette
Autodesk Support
Autodesk Support
Accepted solution

No problem at all, very happy to help! Smiley Very Happy

Please Accept as Solution if a reply has helped resolved the issue or answered your question, to help others in the community.

Kindest regards,


Dominique Bouthillette
Principal Specialist, Industry Support & Escalation
Entertainment & Media Solutions
0 Likes
Message 7 of 12

mpowers
Enthusiast
Enthusiast

Dominique, I think these only affects the window's size and position - not the material node's. 

 

Interface: WndBase

Properties:

.position : point2 by value : Read|Write 

Get/set the Position of the Node View.

   

.size : point2 by value : Read|Write 

Get/set the Size of the Node View.

Mike Powers
Director of Animation \ Cramer

mpowers@cramer.com
https://vimeo.com/mpowers
3DBOXX W8920Processor 32.0 GB RAM
Dual Xeon CPU E5-2670 0 @ 2.60GHz, 2601 Mhz, 8 Core(s), 16 Logical Processor(s)
Windows 10 Enterprise - 1809
NVIADIA Dual RTX2080TI 11GB V 419.35
0 Likes
Message 8 of 12

dominique.bouthillette
Autodesk Support
Autodesk Support

Thanks for the reply back on this @mpowers

 

@ads_royje could you perhaps chime in on a scripting property that could be used to change the default SME node size? Thank you!

Please Accept as Solution if a reply has helped resolved the issue or answered your question, to help others in the community.

Kindest regards,


Dominique Bouthillette
Principal Specialist, Industry Support & Escalation
Entertainment & Media Solutions
Message 9 of 12

ads_royje
Alumni
Alumni

Hi @mpowers , @dominique.bouthillette ,

 

as you noted indeed, the .size property is for the Node view, not the Node.

My mistake as I misinformed Dominique 😕

Unfortunately, the size (or width) of Slate Material Editor Nodes is not exposed to Maxscript.

The Node's exposed properties are the ones documented ; .name, .position, .selected and .reference.
Nor is it exposed in SME.ini (C:\Users\<user>\AppData\Local\Autodesk\3dsMax\2019 - 64bit\ENU\plugcfg_ln\).

 

It would be a nice addon though! 🙂


Regards,

 

0 Likes
Message 10 of 12

mpowers
Enthusiast
Enthusiast

Thank you. If there was an autoscale to text width function...

Mike Powers
Director of Animation \ Cramer

mpowers@cramer.com
https://vimeo.com/mpowers
3DBOXX W8920Processor 32.0 GB RAM
Dual Xeon CPU E5-2670 0 @ 2.60GHz, 2601 Mhz, 8 Core(s), 16 Logical Processor(s)
Windows 10 Enterprise - 1809
NVIADIA Dual RTX2080TI 11GB V 419.35
Message 11 of 12

shinodem
Enthusiast
Enthusiast

so there is  no solution for that?

 

by the way editor is very laggy on 4k in full screen

0 Likes
Message 12 of 12

zsomborAFFE3
Enthusiast
Enthusiast

Why is two of the posts marked as solution, since none of them are a solution??

It is misleading.

 

Also, there should be an option in the forums, where the thread is closed because that feature is not supported or not available in the program. (like in this case now).