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
    • Login

    Python : VariableTag

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 308 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 14/10/2010 at 19:24, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   12 
      Platform:   Windows  ;   
      Language(s) :       PYTHON  ;

      ---------
      Hello,

      I'm trying to read spline's datas from a VariableTag, and

      GetAllHighlevelData() or GetLowLevelDataAddressW() doesn't works

      Exemple in a python tag on a spline :

        
      def main() :   
          obj = op.GetObject()   
          for t in obj.GetTags() :   
              if t.GetType()==c4d.Thermite2d :   
                  print t.GetDataCount()   
                  print t.GetDataSize()   
                  print t.GetAllHighlevelData()   
      

      GetDataCount and GetSize works fine but GetAllHighlevelData get a error :

      TypeError: Unknown data of variable tag type.

      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 14/10/2010 at 22:12, xxxxxxxx wrote:

        Hi olidd,

        the tangent tag is not supported to be read out via Python, but SplineObject.GetTangent(id) might help you.

        Cheers, Sebastian

        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 15/10/2010 at 22:12, xxxxxxxx wrote:

          Thx Sebastian,

          SplineObject.GetTangent(id) works fine, and it's easier !

          Cheers

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