Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Newbie - selected in object

    SDK Help
    0
    4
    319
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post