Script to set scale

  • Script to set scale

    Posted by Paul Kuehnel on December 12, 2023 at 9:17 am

    I find myself modifying the scale for measurements often. While it is not that cumbersome, particularly with scale presets. I find it would be nice if I had two buttons on my toolbar, one to set the current scale to 1/2″=1′-0″ and one for 3/4″=1′-0″. Looking through one of the old BB script reference guides, I could not figure out the proper commands to make this a reality. Anyone tried to do this before?

    Doug McLean replied 2 months, 1 week ago 4 Members · 6 Replies
  • 6 Replies
  • Isaac Harned

    Member
    December 12, 2023 at 10:48 am
    Points: 5,632
    Rank: UC2 Brainery Purple Belt UC2 Brainery Purple Belt Rank

    Unfortunately I do not know of a way to do this programmatically yet.

    Have you tried creating a scaled toolchest instead? I don’t deal with measurements that often but maybe someone might have some input here @Doug McLean @Vince

  • Doug McLean

    Member
    December 12, 2023 at 12:23 pm
    Points: 11,780
    Rank: UC2 Brainery Blue Belt I UC2 Brainery Blue Belt I

    There is a Set scale to multiple pages option that you should be using.

    I have a workflow for this process that speeds it up.
    Go to your Search Panel
    Search for the scale.
    Select all the boxes
    Highlight Checked.
    Open the Markups list and Select All.
    Open the Measurements Panel
    Set your scale
    Click Add Scale to More Pages
    Choose Selected pages
    Click OK
    Delete your highlights
    Repeat for next scale

    • Paul Kuehnel

      Member
      December 13, 2023 at 7:28 am
      Points: 209
      Rank: UC2 Brainery Newbie UC2 Brainery Newbie Belt Rank

      That’s pretty slick Doug. Thanks for sharing your workflow.

      • Doug McLean

        Member
        December 15, 2023 at 6:12 pm
        Points: 11,780
        Rank: UC2 Brainery Blue Belt I UC2 Brainery Blue Belt I

        The one thing you really have to watch is when you have multiple scales on a page.

        It will set the page scale to the last one you did.

        Always double check and insert viewports where necessary

  • Troy DeGroot

    Organizer
    December 15, 2023 at 9:36 am
    Points: 20,343
    Rank: UC2 Brainery Brown Belt UC2 Brainery Advanced Brown Belt Rank

    setting scales from the presets always scares me a little given the unpredictable quality and consistency of drawings. I know how easy it is to print “Scale to Fit” and have it close but not perfect. Updating scales globally makes me cringe a little.

    However, I completely understand the WHY. If you trust the documents are correct, that’s a completely different story. I love this workflow @Doug McLean

    • Doug McLean

      Member
      December 15, 2023 at 6:08 pm
      Points: 11,780
      Rank: UC2 Brainery Blue Belt I UC2 Brainery Blue Belt I

      Oh I still verify.

      Plus I ALWAYS set metric scales as custom.

Log in to reply.