Need help - .obj sequence export script
acc8vermisc
Posts: 2
Hi, I found this script - it runs without errors (in script IDE) but it wont export anything. Can anybody help ?
Thank you
Code removed
Post edited by Richard Haseltine on
Comments
Found where?
You might want to look at http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/file_io/export_obj_silent/start (but if you plan to share the result make sure you respect the license terms).
Sorry, I should have provided the source thread - it has been dead for some time.
https://www.daz3d.com/forums/discussion/291076/is-there-a-way-to-natively-export-an-obj-sequence-from-daz-studio
I got confused and see you found a thread I thought was this one
but anyway will still post here that I use this https://www.daz3d.com/forums/discussion/428856/sagan-a-daz-to-blender-alembic-exporter
Yes, the original poster does npt give permission to repost so a link would have been the correct way (and more readable due to the broken display of code blocks).
That is apparently DS2 or earlier - from the use of the const keyword, which is not supported in the more recent script engine (though it doesn't cause any issues, and i suppose may just have been used out of habit). When i run th script it certainly reports that it is exporting, but the path is not showing the folder - just / followed by the filename - so it appears there is an issue with getting or setting the path to use. A bit of tesing, replace
canonicalPath()
with
absolutePath() + "/"
and it works.