# Copyright 2009 Autodesk, Inc. All rights reserved. # Use of this software is subject to the terms of the Autodesk license agreement # provided at the time of installation or download, or which otherwise accompanies # this software in either electronic or hard copy form. # # This script simply prints out the available properties to # be displayed in the viewer. # # Topic: FBViewerInfos, FBProperty, FBTrace # from pyfbsdk import * lViewerInfos = FBSystem().Renderer.ViewerInfos if lViewerInfos: print 'Properties available for the viewer infos:' for lProperty in lViewerInfos.PropertyList: if lProperty: # Print to the Python console... print ' ', lProperty.GetName(),lProperty # And to the application console (environment 'FILMBOX_CONSOLE=1') FBTrace( ' %s\n' % lProperty.GetName()+str(lProperty) ) else: print 'Viewer information not available. Edit the config file to enable it.'