trashcan Posted June 10, 2020 Share Posted June 10, 2020 I'm working on a project right now where the tiling pattern of the bricks was originally drawn with 50% offset row-to-row and it has since changed to 1/3 offset row-to-row. I've received an as-built and have imported it just fine, but I now need to scale everything to match with the grout. The simplest technique I can think of is to select all the individual bricks and perform some kind of "scale each". In other programs it's called "scale each" or "transform each". The bricks are currently 1' wide x 4" tall. I'd like to make them 11 15/16" wide x 3 15/16" tall, but keep their center consistent. It seems like it's as simple as Grouping all the bricks Duplicate the group Open the top layer group, select all bricks and subtract .083" from each side in the OIP (with anchor being the center). Open the bottom layer group and perform add surface. Then I have my grout. Then I can rescale everything so that the bricks are back to their true 12" x 4" Does that sound right? Quote Link to comment
Pat Stanford Posted June 11, 2020 Share Posted June 11, 2020 Ignore that this thread is named Rotate. The first script is actually to scale objects. Later is a rotate one if you need it. 2 Quote Link to comment
trashcan Posted June 11, 2020 Author Share Posted June 11, 2020 @Pat Stanford noob question: how do you implement a script? Quote Link to comment
Pat Stanford Posted June 11, 2020 Share Posted June 11, 2020 In this case (I hadn't learned to use the Code block yet), copy everything from the beginning of the line that starts Procedure down to and including the line that starts with Run. Make sure you include the final semicolon. Go the the Resource Manager and Click the New Resource button and choose Script. You will get a dialog box asking for the script palette name. Then a dialog box to Name the script. Then the Script Editor will open. Paste the text you copied above into the editor and click the OK button. Double click on the script name in the Script Palette to run it. This thread has additional information. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.