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

    Object Type

    SDK Help
    0
    4
    363
    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 16/09/2004 at 23:35, xxxxxxxx wrote:

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

      ---------


      Hello ,
      My problem is like that.
      I want to know the type of an  object that I currently select.
      It can solve by using GetType method of the basecontainer object and Description class.
      But after the object has been made edittable, the object type become "base object",not the specific type like "Cube Object" or "Cone Object".
      What I have to do to know the selected object type after selecting it.

      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 17/09/2004 at 00:36, xxxxxxxx wrote:

        Hi
        If I'm not wrong, once you make editable, there is no way to find out what kind of object is that.

        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 17/09/2004 at 05:18, xxxxxxxx wrote:

          not possible if you don´t have earlier access to it.

          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 17/09/2004 at 06:45, xxxxxxxx wrote:

            Use IsInstanceOf(TYPE_ID) or GetInfo() to determine the current type:

            if (baseobject->IsInstanceOf(Obone)) ...

            // For SplineObjects
            if (baseobject->GetInfo() & OBJECT_SPLINE) ...

            Once an object is made editable, its previous type will not be retrievable.

            Check out the Resource:res:description files in the for valid object types.

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