Message 1 of 1
python: problem with modifers
Not applicable
10-31-2015
05:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
so I must be missing something about modifiers and python
I'm trying to collect the parameters using something like this but not all modifers expose their parameters. If I try ParameterBlock.Count() it will return 0 on some of the modifers like displace and push but works fine on others like bend and pointcache.
for p in MaxPlus.Core.GetRootNode().Children: for q in p.Modifiers: for r in q.ParameterBlock: print r.Name, r.Value
Running maxscript show $.modifiers[1] I can then see the parameters and strangely from then on python will expose them.
max 2016
sublime with Sendto3dsMax