sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    Urasik Extensions | Lots of new extensions to check out Learn More

    Boxes and Component Size

    Scheduled Pinned Locked Moved Developers' Forum
    2 Posts 2 Posters 1.3k Views 2 Watching
    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.
    • A Offline
      agrazdi
      last edited by

      1 - Is there a ruby that can be added to the BOX.rb and be able to select the initial point < like you do with the wall ruby > ?? instead of the origin or an x,y,z coordenates?

      2 - Last one, is there a way to get with a Ruby the size of groups and components ?

      Thanks in advance

      agraz

      http://www.sketchucation.com/forums/scf/sas/Ruby/BOX.jpg

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by

        @agrazdi said:

        1 - Is there a ruby that can be added to the BOX.rb and be able to select the initial point < like you do with the wall ruby > ?? instead of the origin or an x,y,z coordenates?

        2 - Last one, is there a way to get with a Ruby the size of groups and components ?

        Thanks in advance

        agraz

        Yes, it's possible.

        1. Look into using a PickHelper or a InputPoint object to select the initial point.

        2. It depends on what you mean by "size"? Look up the bounds method for Groups and Components. A BoundingBox is a 3D box aligned to the global axis, and includes all the entities inside the Group.

        Hi

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better đź’—

        Register Login
        • 1 / 1
        • First post
          Last post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement