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
    • Recent
    • Tags
    • Users
    • Register
    • Login

    Object Enabled?

    Scheduled Pinned Locked Moved SDK Help
    5 Posts 0 Posters 446 Views
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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 Offline
              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