Div Posted September 14, 2007 Share Posted September 14, 2007 (edited) Hi, I would like to export the result of a dynamic simulation in XSI, using OBJ sequences... I've done some research on this forum and find a solution : using object merge in a new geometry and save it using opsave in the Textport. It works for saving the simulation for one frame, but when i try to export the sequence it doesn't works, prints an error telling that all the filenames are the same for each frame, however i use this command : " opsave -f <start> <end> -i 1 /obj/geo2/object_merge1/ ./tst/$F.obj " Why doesn't it takes the frame number for the filename ??? Edited September 14, 2007 by Div Quote Link to comment Share on other sites More sharing options...
michael Posted September 14, 2007 Share Posted September 14, 2007 try something like: ./tst/simulation.$F4.obj Quote Link to comment Share on other sites More sharing options...
Div Posted September 14, 2007 Author Share Posted September 14, 2007 I get the same error... :cry2: Quote Link to comment Share on other sites More sharing options...
edward Posted September 14, 2007 Share Posted September 14, 2007 You you need to make sure that $F is passed to the command unexpanded. That is why in the help example, there is an extra backslash before the $ sign. It's probably a lot easier if you just enclosed your filename in single quotes. opsave -f <start> <end> -i 1 /obj/geo2/object_merge1 './tst/$F.obj' Quote Link to comment Share on other sites More sharing options...
Div Posted September 14, 2007 Author Share Posted September 14, 2007 It works, thanks a lot!!!!! I looked a the help example and tried the backslash but can't type it in the texport... Thanks again... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.