Jump to content

SirGreenWizard

Member
  • Posts

    11
  • Joined

  • Last visited

Posts posted by SirGreenWizard

  1. 40 minutes ago, michaelk said:

    @Pat Stanford you beat me to it.  Nice.

     

    @SirGreenWizard, can I guess from your signature that you might be trying to make something like a cut list?  If so, there are easier ways than getting Pat to write you a script :-).

    Not so much of a cut list as a running total. This is for a project where I am running LED tape, zig-zagging across a scenic element. I'm just trying to get a shortcut

    47 minutes ago, Pat Stanford said:

    OK, let's try this as a starting point.  The attached file has a worksheet and a worksheet script. The Worksheet has row 3 set up as a Database. The Criteria for that row are set to show all of the Dimension objects in the drawing. You can edit the criteria to only return the dimensions you are concerned with my using layers, classes, or anything else. I will leave it to you to read the documentation on Worksheets and Databases to learn more.

     

    The file also contains a Script named GetDimLength. This script is used in cell A3 using a formula of =RunScript('GetDimLength').  The script will be run once for every object that shows up as a subrow (i.e. 3.1, 3.2, etc.) in the database. The sum of all the values will be shown in the database header row (3).  Cell has a formula of =A3 showing how you can use the summed value in other places in the worksheet.

     

    You can edit the script for more description about how it works.

     

    This is complicated, so ask again if you have more questions.

     

    HTH

     

    Dimension Length to Worksheet.vwx 67.59 kB · 1 download

    Pat, I'm still in VW 2021, my company hasn't moved onwards to 2022 yet.

    , so I don't have to add up each run on a notepad.

  2. I have created a new title block for myself. I created the layout of the title block, then created the record format. I left off where I still needed to add revision, and issue notes to it, but I wanted to stop for the day, so I created the custom style and saved the document and closed it. 

    Today I wanting to add the revision and issue items to the TB, but here's my issue. I can still add project and sheet info, but I can't seem to find my record format. Does it disappear after you create the custom style? It's not showing up in the OIP, so how could I still add project and sheet data?  

×
×
  • Create New...