Hi,
I´m totally new to composer and composer api.
But is it possible to write a save as macro or a batch save as for composer also?
Br
Alex
Hi,
I´m totally new to composer and composer api.
But is it possible to write a save as macro or a batch save as for composer also?
Br
Alex
Hi Deepak,
I was able to dig into composer api a bit and test the SaveAs code but i only was able to get it to work for *.smg, *.smgxml and *.smgproj.
I have to save a lot of *.smg files as *.3ds and if i i could do it with a single mouse click per file that would be nice or even with a batch that would be great
For some reason however - if i try to save as *.3ds via api i always get the return value "false" which indicates it failed. Maybe i´m doing something wrong - or It´s a limitation to avoid using it as a batch tool and to buy composer sync.
Thanks!
BR
Alex
Wish I could help you but I've no knowledge with Composer API.
If you can teach me how to use Composer API and share your codes then I can try to debug.
Hi, Thank you very much for your help!
I used the API Sample in the Composer install dir/samples/api
And just added a button there - on button click i get the active composer app and then get the active composer document - then i use saveas.
I´m on the go right now - but i´ll post the code later.
BR
Alex
Hi Alexander
I need to save smg files.
swModel.SaveAs4 can not be used..
Will you share the method, please.
BR Niels
Hi Niels,
I think i lost the code when switching to a new computer, I will take a look by next week.
Have you tried the API Sample in the Composer install dir/samples/api ?
I remember this one worked - unfortuneately there are a few restrictions regarding saving to different formats. i.e. if you want to save to *.3ds you nedd ComposerSynch.
BR
Alex
I'm sure that you can do API in composer as it has the SaveAs code but not sure if this can be made to process in batch.
What exactly you looking to do?