
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So, as there are several threads already, I am making another one relative to the continually inadequate pymxs implementation. Every time I use it, or try and use it, I find that there are more things that have not, or appear not to, have made it to the docs or the actual implementation. Perhaps I am trying the wrong things when attempting to uncover the syntax required (though not documented), so perhaps others can provide some insight. The auto complete for pymxs often does not list attributes that are actually available but omitted from all functionality in the editor.
I am attempting to use (with pymxs, not MaxPlus or MaxScript): setAppData, getAppData etc so I can attach data to assets and retrieve it through whichever means we decide.
below is code I have tried, but there is probably some other undocumented method of getting info back.
import pymxs rt = pymxs.runtime rt.SetAppData rt.selection[0] 1 "Nonsense" # (selected object is a sphere, for testing) rt.SetAppData( rt.selection[0] 1 "Nonsense") pymxs.SetAppData rt.selection[0] 1 "Nonsense" pymxs.SetAppData( rt.selection[0], 1, "Nonsense") derp = rt.selection[0].getmxsprop("getAppData")
All of the above fail for syntax reasons or asset not having the attribute and as mentioned in other threads, I do not have time to go through this convoluted guess and hope scenario when coding. The paradigm should have been made and released complete, not two versions ago and STILL not working properly.
Its all well and good being told by Autodesk staff that theres a raodmap we are not allowed to see, but this is wearing thin as another release is out with below par python and documentation and no sight of any improvement.
Solved! Go to Solution.