#-Functions doesn't work right on R9



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

    On 24/06/2008 at 16:34, xxxxxxxx wrote:

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

    ---------
    > \> var cam = new(CameraObject); \> doc->InsertObject(cam, NULL, NULL); \> cam#CAMERAOBJECT_FOV = Radians(d->fov); \> cam#ID_BASEOBJECT_USECOLOR = 2; \> cam#ID_BASEOBJECT_COLOR = vector(1,0,0); \> \> var coffeetag = AllocTag(Tcoffeeexpression); \> \> \> coffeetag#ID_BASELIST_NAME = stradd("HLAE Frame Updater C.O.F.F.E.E ",tostring(project_num)," ",d->stereo); \>

    Hi i have a small problem. My plugin work on Cinema 4D R9, but i get errors on this #- Functions. Maybe R9 doesn't know hwo to handle with it. How can i fix this? Can I use other Methods to change for example the fox or the ID Baselist



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

    On 25/06/2008 at 01:21, xxxxxxxx wrote:

    Which exactly version number of Cinema 4D are you using?

    cheers,
    Matthias



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

    On 25/06/2008 at 03:03, xxxxxxxx wrote:

    I use Cinema 4D v9.012



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

    On 25/06/2008 at 03:43, xxxxxxxx wrote:

    AFAIK, the # (operator) doesn't work until R9.1xx.

    from the coffee sdk, list of changes R9.1
    "A new # operator to access descriptions."

    Cheers
    Lennart



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

    On 25/06/2008 at 03:47, xxxxxxxx wrote:

    Please update to Cinema 4D 9.102.

    cheers,
    Matthias



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

    On 25/06/2008 at 04:16, xxxxxxxx wrote:

    so there isn't any other method for changing the fov for example?



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

    On 25/06/2008 at 05:55, xxxxxxxx wrote:

    Yes, you have to use the object's container. Please read the chapter of the BaseContainer class in the COFFEE docu.

    cheers,
    Matthias



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

    On 25/06/2008 at 15:29, xxxxxxxx wrote:

    doesn't work ?

    > var coffeetag = AllocTag(Tcoffeeexpression);

    I tryd it in v9.012 and i get
    (118) Variable or function expected



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

    On 25/06/2008 at 16:16, xxxxxxxx wrote:

    Yes, you do. Until v9.102, the latest COFFEE SDK was v6.3. If you look at the 6.3 COFFEE docs, there is no AllocTag!

    Upgrade to 9.102 - it's free and has improved COFFEE.



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

    On 25/06/2008 at 16:52, xxxxxxxx wrote:

    Changes since CINEMA 4D R6.3

    • Objects, tags, materials and shaders are no longer allocated with new(...). Instead you should use AllocObject(), AllocTag(), AllocMaterial() and AllocShader().

    So i thought AllocTag() would work on all versions over 6.3.

    The Point is, I want built a coffeescript for a big range of version.

    Personally I work with R10, but some of my users have older versions, so the question is, can i add coffeetags with a function, working on R9 and older



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

    On 25/06/2008 at 17:24, xxxxxxxx wrote:

    All versions of COFFEE over 6.3. 9.102 was the next update to COFFEE since 6.3!

    I'd limit it to 9.1 or later. Not one person can complain since the update from 9.012 to 9.102 is a free update and solves a bunch of issues in the SDKs. This is just like R10.008 - I recommend strongly (forcibly even) for all of my users to upgrade to R10.102 or 10.111 since 10.008 was unstable and crashed frequently.


Log in to reply