Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    Object type of vectorizer?

    SDK Help
    0
    4
    387
    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 24/07/2007 at 02:36, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.5 - 10 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hi,
      i'm working on an object plugin using OBJECT_GENERATOR|OBJECT_INPUT and i need to check if the input object is a spline.
      All is fine until a vectorizer object is used (cinema crashes), there is no need of using it so i want to keep it out.
      But the object type of vectorizer seems not to be listed in the SDK, what type is it?
      Do i run into problems using the hardcoded object type (5189) the console does return?

        
      if (!obj || obj->IsInstanceOf(5189)) return NULL;   
           if (obj->GetInfo() & OBJECT_SPLINE) //# >9.1 OBJECT_ISSPLINE  
           {do something}  
      

      Thanks,
      vrom

      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 24/07/2007 at 05:40, xxxxxxxx wrote:

        Hi,

        you can always check the resource folders: Osplinecontour

        does it also crash with a texture assigned?

        frank

        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 24/07/2007 at 05:49, xxxxxxxx wrote:

          Osplinecontour is the ID for the Vectorizer object.

          cheers,
          Matthias

          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 24/07/2007 at 09:08, xxxxxxxx wrote:

            Ah thanks,
            i guess i have read Osplinecontour a dozen times and couldn't bring it in connection with vectorizer ...

            and thanks again for asking if it crashes with texture, for now i'm checking if any points are existing and it works.

            best regards,
            vrom

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