User Interface Embedded Elements

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 01/05/2006 at 15:30, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   9.102 
Platform:   Windows  ;   
Language(s) :   C.O.F.F.E.E  ;

---------
Hi there!
Appologies if this is rather a simple question, but im having real difficulty getting my head around c.o.f.f.e.e. and aren't finding all the examples easy at all.
Could someone give me a push in the right direction...
How/what should i be looking at to set up a user interface that appears in the attributes area in C4D? I don't want my user controls to appear in a popup - i just want a couple of simple settable values in the attribute area.
Im programming in pure coffee (not C++), trying to make a tag plugin.
(If i could only read external file data from a coffee expression...)
many thanks in advance
martin 🙂

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 01/05/2006 at 16:11, xxxxxxxx wrote:

Description Resources are used for the Attribute Manager. For novices, it is sometimes odd to realize that there is a clear and nonoverlapping distinction between Dialog and Attribute Manager interfaces.

Look up "Description" in the COFFEE documentation (which is a newly supported feature in 9.102) for starters. From there, get the C++ SDK Documentation and look up "Description resource" which will give you a run down of the format of A.M. .res file descriptions and more useful information.

In order to exemplify what is described there, check out the "resource\res\description" folder in your Cinema 4D install to get acquainted with the .h (for ID enumerations) and .res (for descriptions). Also, strings for labels are stored separately in a .str file that exists in "resource\strings_us\description".

_Note: Your plugin resources go into a 'res' folder in your plugin folder, for example:

Cinema 4D install
   plugins
      MyPlugin
        res
            description
               <description files .h and .res>
            strings_us
               description
                  <description files .str>_

Good luck and continue asking questions if you get struck on any of this.