Re: [Maya2osg-users] Updated Maya Export Scripts
Status: Alpha
Brought to you by:
jtaibo
From: Peter W. <pp...@cg...> - 2011-07-09 15:39:58
|
Hi Javier, working on that as well. I am trying to further automate the process, in terms of that the argument Names which we want to pass to the PlugIn will get extracted automatically from the OptionVar Initialization. This means we need to add argument names to less places. I reduced it to OptionVar initialization and UI Building. > > I found several errors in the last update. After tweaking the > optionVars and correcting the pre/post export code, the one I am > having is a syntax error, that now I am seeing that is caused because > the variable $resultCallback passed to the osgFileExportOptions code > is empty. We are appending the options to it and eval'ing. Thats the > cause of the syntax error. > > Who should provide the $resultCallback and why is it empty? The Method maya2osg_buildCommandOptions() in maya2osg_export.mel should pass this string, and was doing it till now. Error must have come from all the new changes, but I am on it right now. > > Can we just ignore it, replace by the maya2osg command? Unfortunatelly not, maya implicitly exports through the osgFileTranslator, if the File->export menu is used. This was the reason why I created the osgwriter.h/cpp. Fixes and new features should be there by today eveneing. Cheers, PP > > Regards, > > > On Sat, Jul 9, 2011 at 5:12 PM, Peter Wrobel <pp...@cg... > <mailto:pp...@cg...>> wrote: > > Currently I am working on the script and wiki, so I will have a > look. I found already the export selected issue, but of the other > error I was not aware. Are you talking about the one when changing > to a different file type in the fileDialog ? > > "// Error: file: > F:/Documents/maya/scripts/osgFileExportOptions.mel line 23: Cannot > find procedure "maya2osg_eventExportCommand". //" > > Cheers, PP > > >> Hi Peter, >> >> The pre and post export commands were called with the old code >> in osgFileExportOptions.mel. I already changed that some days >> ago, but they came back in one of the last SVN changes. Please, >> test it also with the "File > Export all/selection" command when >> you change the scripts. >> >> I changed this in SVN, but there is still a problem with the >> Maya "File > Export*" option. There is a syntax error that I >> don't know where it comes. >> >> As the system is perfectly usable with the shelf button, I'm >> going to finish the other pending tasks before. If you have any >> idea about where this problem is, help is welcome. >> >> >> Regards, >> >> >> On Sat, Jul 9, 2011 at 12:15 AM, Peter Wrobel >> <pp...@cg... <mailto:pp...@cg...>> wrote: >> >> Hi, >> >> I woked on the Maya UI scripts as announced. Now threre are >> more Macros, >> which should make it quite easy to add new Arguments and UI >> Controls. >> Please test, and inform me about any Bugs. >> >> Want to write the wiki entry about those Macros and usage >> tomorrow. >> Javier, do you have a prefered place to add this entry ? >> Would suggest one more maijor Topic e.g. "Developer Notes", >> wehere we >> could write wiki information how to use features that we >> implemented. >> >> Cheers, PP >> >> ------------------------------------------------------------------------------ >> All of the data generated in your IT infrastructure is >> seriously valuable. >> Why? It contains a definitive record of application >> performance, security >> threats, fraudulent activity, and more. Splunk takes this >> data and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-d2d-c2 >> _______________________________________________ >> Maya2osg-users mailing list >> May...@li... >> <mailto:May...@li...> >> https://lists.sourceforge.net/lists/listinfo/maya2osg-users >> >> >> >> >> -- >> Javier Taibo >> >> >> >> >> ------------------------------------------------------------------------------ >> All of the data generated in your IT infrastructure is seriously valuable. >> Why? It contains a definitive record of application performance, security >> threats, fraudulent activity, and more. Splunk takes this data and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-d2d-c2 >> >> >> _______________________________________________ >> Maya2osg-users mailing list >> May...@li... <mailto:May...@li...> >> https://lists.sourceforge.net/lists/listinfo/maya2osg-users > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously > valuable. > Why? It contains a definitive record of application performance, > security > threats, fraudulent activity, and more. Splunk takes this data and > makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Maya2osg-users mailing list > May...@li... > <mailto:May...@li...> > https://lists.sourceforge.net/lists/listinfo/maya2osg-users > > > > > -- > Javier Taibo > > > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > > > _______________________________________________ > Maya2osg-users mailing list > May...@li... > https://lists.sourceforge.net/lists/listinfo/maya2osg-users |