THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/11/2006 at 08:04, xxxxxxxx wrote:
Cinema 4D Version: 9
Platform: Windows ;
Language(s) : C.O.F.F.E.E ; XPRESSO ;
Hi all. I'm new to the forum. I've been using C4D for a few years but have just started looking into COFFEE and XPresso. My first real attempt at XPresso was a standard CAD dynamic dimension in 'foot-inch-fraction' format that I created last week.
I now want to create a Batch Exporter that, as it progresses through frames, would pause at a set interval and export to Illustrator, each with a different file name - similar to the way you can render individual frames to TIFF or JPG, etc.
My problem is that I can't find much info on exporting in the SDK 91 file. I've searched this forum for info but only came up with others with the same problem.
Is this possible with COFFEE? I realize now that it can't be done with XPresso because that just deals with object behavior and not command execution.
Thanking you in advance,
On 16/11/2006 at 09:09, xxxxxxxx wrote:
You have to create your own Illustrator exporter. There are some examples for each plugin type in the COFFEE SDK docu. You can find them in the Plugin types chapter.
Do you have some specific questions?
On 17/11/2006 at 12:34, xxxxxxxx wrote:
Thanks for the quick reply, Matthias.
I was under the assumption that there was a way to execute an existing menu item with code. I guess I have lots of reading to do.
My specific question would now be: do I have to create the Illustrator exporter from scratch or can I somehow use the built-in function (File menu> Export...> Illustrator)? I noticed there is no ID for this in the Command Manager.
Also, in trying some of the code in the Reference section of the SDK 9.1 they don't work as written. Is there any that I can copy and paste directly that work so that I can examine and experiment with them?
ps: I upgraded to 9.1 this morning but don't see a way to chang this in my profile.
On 20/11/2006 at 04:17, xxxxxxxx wrote:
As far as I know you can't use already existing exporters in your own exporters. Here is a working example from the COFFEE SDK (unfortunatly it isn't complete in the latest SDK). Just copy it into the plugins folder. It will be avaible in the Export menu.
On 21/11/2006 at 17:39, xxxxxxxx wrote:
Thank you again, M. But just for the record (and I guess I used the wrong words in my first post) I'm not trying to create my own exporter. I just want to automate the existing Illustrator exporter.
Here's what I want to do:
1] At Frame 0, I export to Illustrator with the file name 'filename001.ai'...
2] I advance to Frame 5. I export to Illustrator with the file name 'filename002.ai'...
3] I advance to Frame 10 and export 'filename003.ai...
..etc, etc to end of the animation.
Is this possible in 9.1 or do I have to do this manually.
ps: since this is for the record, here's the whole story: after exporting the Illustrator files I want to open them one by one in C4D and re-export as DXF.
I will then import the DXF files into my CAD program and put dimensions and notes on them.
On 21/11/2006 at 17:49, xxxxxxxx wrote:
Sorry, it's not possible this way. You have to do this manually or write your own "ai" exporter.