Maya Programming: Partitioning Attributes in the Attribute Editor

Sorry for using the application, but I noticed that another responded well to the Maya development post.

I just wrote a node plugin for Maya. It just kills a bunch of particles according to the turbulence function. Turbulence is due to a number of attributes that are configured in the attribute editor.

In the attribute editor, there are several other attributes called "Caching" and "Node State" that are placed before the turbulence attributes. It does not look too beautiful for the user.

What I would like to do is place the delimiters in the GUI to separate them. If you look at most of the other Maya nodes in the attribute editor, they do just that. They have horizontal collapsible bars on the panel that separate unrelated attributes from each other.

My simple question is: how can I tell Maya about creating these folding stripes to separate attributes?

Thanks for any help you can give.

Andy

+4
source share
1 answer

The answer was provided from another source. Obviously, you can write a MEL script to provide layout information called

AE <pluginname> Template.mel

where <pluginame> is the name of the * .so (*. dll) file.

I think there are examples in the Maya installation.

+4
source

Source: https://habr.com/ru/post/1314865/


All Articles