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

    HPBToMatrix(hpb,order error)

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 574 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 26/05/2011 at 05:03, xxxxxxxx wrote:

      Hi.
      Going thru Matrix utils options I need to check if this is correct.

      Using HPBToMatrix(hpb,order),
      When putting the numeric options ("ROT_YXZGLOBAL" etc)
      as order, I get "not defined" (I have utils imported)

      I can put any integer there (even higher than the 12 options)
      and to me it make no difference?

      Also in SDK it say order is vector but as above it should be integer,right?

      Cheers
      Lennart

      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 01/06/2011 at 09:16, xxxxxxxx wrote:

        Please check this out:

        import c4d
        from c4d import utils
        utils.HPBToMatrix(c4d.Vector(1,2,3),c4d.ROT_YXZGLOBAL)

        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 03/06/2011 at 08:58, xxxxxxxx wrote:

          Tops Sebastian, will try it out asap.

          Cheers
          Lennart

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