[Closed] Can you access Summary Info dialog in MXS?
I’m doing some version control scripting and wanted to beef up the logfile of our exports by throwing in the Summary Info. Is there any way to access what Summary Info outputs, or am I going to have to do it the hard way?
At present i’ve got the file properties (ie Summary, Content and Custom), but i’d rather have the detail of the former.
Hi erilaz,
I think what you’re looking for is fileproperties
The ‘description’ text displayed in the summary info box is the same as what is displayed in the file properties. Be warned though, there is a character limit AFAIK!
I started working with the file properties to do some kind of version tracking and I found it a bit limiting.
Cheers mate,
Josh.
A custom attribute is the best place to add data like this. A bit more work but you are not as restricted and also the end user would have a harder time messing with it.
mobeen, cool, but I really need to access the properties it outputs.
j-man, as I said in my initial post i’m not looking for fileproperties. I’ve already gleaned the all info out of that one. Summary Info has far better detail (individual poly counts, map paths etc).
PEN, so I will have to do it the hard way then. Dang.
Thanks for the replies guys, I’ll endeavour.
sorry, i didn’t make myself clear!
the only thing you can access from the summary info is what it shares with file properties! I don’t know any way to get any of the other info.
I mentioned this becuase we use this to log information every time a file is loaded or saved though callbacks.
J.
in case you go down the ca route as PEN suggested, you can store the ca on the rootnode, so you don’t have to create some special node in the scene to store the info.
example code:
sceneInfo_CA = attributes sceneInfo_CA
(
parameters main
(
sceneVersion type:#string
)
)
custAttributes.add rootnode sceneInfo_CA
--test it
rootNode.sceneVersion = "1.0.0"
print rootnode.sceneVersion