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

    Insert in Plane

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 289 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 10/04/2012 at 02:08, xxxxxxxx wrote:

      Many objects in C4D to have the option exist in a certain plane

      XY - ZY - XZ

      Rather than reinvent the wheel - has anyone been down this route before an worked out a function?

      Or is it  a case of using one of the  Matrix rot options 
      c4d.utils.MatrixRotX( w )

      and resetting the axis?

      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 10/04/2012 at 03:36, xxxxxxxx wrote:

        Hi, you could create a new object of it by BaseList2D(op.GetType()) and copy the value of the corresponding ID.

        op[c4d.PRIM_AXIS] = copy[c4d.PRIM_AXIS]

        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 10/04/2012 at 08:18, xxxxxxxx wrote:

          Thanks for the feedback Sebastian

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