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

    HyperNURBSObject prob

    SDK Help
    0
    4
    350
    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 05/07/2004 at 01:57, xxxxxxxx wrote:

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

      ---------
      Hi,
      Very annoying problem.
      when I try to check if an object is a HyperNURBSObject, using GetType(), nothing happens, unless I use ID numbers instead..... e.g.
      if (main_obj->GetType() == HyperNURBSObject ) println("hypernurbs");
      The above does not work, but ...
      println (main_obj->GetType() ) ; // gives the answer 1007455 for a hypernurbs object,  SO...is the following CORRECT ?
      if (main_obj->GetType() == 1007455 ) println("hypernurbs");
      or is the number 1007455 also used for other objects????
       
      please help, as my hair is falling out!

      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 05/07/2004 at 16:23, xxxxxxxx wrote:

        Ahhh! It`s ok.
        I have found another way of doing what I am after.........

        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 07/07/2004 at 20:27, xxxxxxxx wrote:

          Just for the record, obj->GetType() returns the integer ID while getclass(obj) would return the actual class (HyperNURBSObject).

          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 09/07/2004 at 01:21, xxxxxxxx wrote:

            Thanks a lot for the info,    (I`ve been offline for a few days).....

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