Maxon Developers
    • Downloads
      • All Downloads
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
      • Cinema 4D Python Examples
      • Cinema 4D C++ Examples
      • Project Tool
      • SDK Database
    • Documentation
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
    • Forum
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Forums
      • Overview
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • News & Information
      • Downloads
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Register
    • Login

    Object Enabled?

    SDK Help
    0
    5
    67
    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 23/11/2005 at 17:53, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.503 
      Platform:      Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
            I thought this would be very easy, but I haven't been able to get the value of the enable checkbox in the AM for generator objects and expression tags. Is there some trick to getting certain AM values -- I can get values like radius for a sphere, but not the enable bool. I looked for it in the object's contatiner, with ID_BASEOBJECT_GENERATOR_FLAG, but is is always 0. Perhaps it is somewhere else?

      Thanks in advance.

      Aaron M.

      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 26/11/2005 at 18:36, xxxxxxxx wrote:

        Possibly this is not quite as easy as I had once hoped? There must be some way to access this. Otherwise, then what's the point of including Obase in the description? Nobody knows?... hmm. Fascinating.

        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 26/11/2005 at 23:37, xxxxxxxx wrote:

          BaseObject::GetDeformMode() and SetDeformMode()

          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 27/11/2005 at 00:06, xxxxxxxx wrote:

            Yep, as Robert said thats what you need. Also, not all objects have data in their BaseContainer, some have internal data you can only fetch using GetParameter. GetParameter will fetch any value from the description, to use it just do:

                
                
                  
                GeData t_data;  
                if (!bl->GetParameter(DescID(id),t_data,0)) return def;  
                return t_data.GetLong();  
                
            

            where 'bl' is your object (BaseList2D) and 'id' is the ID for the data you want from the objects description.

            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 27/11/2005 at 23:01, xxxxxxxx wrote:

              Ah. I have seen a little of those fuctions, but didn't realize that that was what they did. (hmm. GetParameter(). What an idea!).
              Thankyou both.

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