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

    Get Size +

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 230 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

      On 19/11/2013 at 15:42, xxxxxxxx wrote:

      Hey,

      I looking for a way to get the attach a object on the outside of an other object -

      example - to position a Picture Frame on the outside of a wall

      Is there a way to get the dimension of the selected object to calculate the outside

      Thanks 🙂

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        On 20/11/2013 at 03:04, xxxxxxxx wrote:

        Hi conner,

        BaseObject.GetMp() and BaseObject.GetRad() give you the center point and dimensions of an
        objects bounding box (not including it's child objects). The data is relative to the objects matrix.

        Best,
        -Niklas

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          On 20/11/2013 at 03:10, xxxxxxxx wrote:

          Thanks Niklas,

          great help - like every time

          is there a function to get an value with all childs ? like the Size + in Coordinate Window ?

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