Newbie - selected in object



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

    On 27/11/2003 at 20:38, xxxxxxxx wrote:

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

    ---------
    Hi. I've justed started looking at the COFFEE SDK, and I can't find any way to:

    a) determine if the user is working in point, edge or poly mode,
    b) get the point, poly and edge selections in objects. (not tags, just live selections.)

    Are these things possible? Can anyone point e in the right direction?

    TIA
    James Cartledge



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

    On 28/11/2003 at 02:54, xxxxxxxx wrote:

    Hi,

    a) In the C++ SDK, this is BaseDocument:GetMode(). I can't remember whether this exists in the Coffee interface - it's not listed in the documentation.

    b) Look at the documentation for 'BaseSelect',
    Use BaseObject:GetPointSelection() for points, and
    BaseObject:GetPolygonSelection() for polygons.
    In Coffee you cannot access edge selections, as they were introduced after Coffee's last major update (6.0).

    BTW, At the bottom of the Coffee 'Reference' page there are a large number of examples, which should help you get started.

    Be aware that the Coffee interface is fairly limited (e.g. no edge support), and for any complex plugins you should really be using the C++ interface, which is much more extensive.

    Hope this helps.

    Cheers - Steve



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

    On 28/11/2003 at 05:47, xxxxxxxx wrote:

    a) there is no way to find out in COFFEE
    b) see steves answer



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

    On 30/11/2003 at 13:22, xxxxxxxx wrote:

    Thanks for your help, guys.


Log in to reply