A table listing out which view labels are on which sheets?

A table listing out which view labels are on which sheets?

claudio.ibarra
Advocate Advocate
783 Views
6 Replies
Message 1 of 7

A table listing out which view labels are on which sheets?

claudio.ibarra
Advocate
Advocate

Currently, the organization adds "SHT. X" to section view labels, and to some bubble labels when a drawing is dozens of pages, to make it easier to find which sheet has view "AM-AM" or similar.

 

But it's manual, so if you add a sheet early in the drawing, many references are broken.

 

Is it possible through iLogic to generate a table that has a column with each sheet number and a corresponding column with the view labels on each sheet?

0 Likes
Accepted solutions (1)
784 Views
6 Replies
Replies (6)
Message 2 of 7

WCrihfield
Mentor
Mentor

Hi @claudio.ibarra.  That does sound possible to create something like that by code, but the table's values would still be 'static' when done, similar to if you had created it manually.  However, you would need to run the rule again every time something changes in the drawing like adding a sheet, creating more views, moving a view from one sheet to another.  And unfortunately, there are not many events specific to drawings in the Event Triggers dialog box...just the one named 'Drawing View Change' which is only triggered when the model changes visible, causing the drawing view to be updated.  The only other drawing related event is for when you retrieve model dimensions, which would not be helpful here.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 3 of 7

claudio.ibarra
Advocate
Advocate

I could add an event trigger to whenever the drawing is saved? 

 

I already do that for the mass in the title block -- there's a rule that changes the rounding to be X.XX if it's <1lb, X.X if it's between 1 and 10lbs, and just X if it's greater than 10lbs.

 

I'd be OK with the rule requiring to be fired manually to update.

0 Likes
Message 4 of 7

WCrihfield
Mentor
Mentor

OK.  That sounds reasonable.  I assume you mean 'Before Save Document', and not 'After Save Document', right?

  • Which sheet should the table be on?
  • Where on that sheet?
    • If located at a corner of the sheet's Border, then where is the TitleBlock...will it be in the way?
  • Should the table include a title?
    • If so, what should its title be?
    • Should it be at top or bottom of table?
  • Please specify any other usual custom table specifications that you would need to set when creating this table manually.
    • I'm guessing you may want a row for column headers (something like Sheet & View Name) (top or bottom?).
    • I'm guessing just two columns (one for sheet name, other for view name).
    • And the number of data rows should probably match the number of views in the drawing, right?

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 5 of 7

claudio.ibarra
Advocate
Advocate

@WCrihfield wrote:

OK.  That sounds reasonable.  I assume you mean 'Before Save Document', and not 'After Save Document', right?

  • Which sheet should the table be on?
  • Where on that sheet?
    • If located at a corner of the sheet's Border, then where is the TitleBlock...will it be in the way?
  • Should the table include a title?
    • If so, what should its title be?
    • Should it be at top or bottom of table?
  • Please specify any other usual custom table specifications that you would need to set when creating this table manually.
    • I'm guessing you may want a row for column headers (something like Sheet & View Name) (top or bottom?).
    • I'm guessing just two columns (one for sheet name, other for view name).
    • And the number of data rows should probably match the number of views in the drawing, right?

Absolutely, "Before Save Document", for sure.

 

The table would almost certainly be on the first sheet. The Parts List is typically in the top-right corner of the first sheet, and the title block is in the lower right corner. So the view label table could be in the top left or bottom left corners. Let's say top left, so it can grow down as needed.

 

The title would be "Table of Contents", at the top of the table, with a column for "SHEET" and a column for "VIEWS". 

claudioibarra_0-1691423002436.png

If it's easier programaticallyto make it more like this, that's fine, too.

claudioibarra_1-1691423428792.png

 

If it's easier programatically to convey it by some other means, it's flexible. What I'm trying to avoid is manually updating dozens of sheets with notes and leaders like these

claudioibarra_2-1691423787136.png

 

And these

claudioibarra_3-1691423819832.png

 

Updating those labels are a nightmare.

 

 

 

 

0 Likes
Message 6 of 7

WCrihfield
Mentor
Mentor
Accepted solution

Well, this is a fairly tall order, but I already had several codes on hand for custom tables, so I patched something together for you.  This is just a rough draft at the moment, but is functional in my brief, limited testing.  It does not attempt to set, or adjust column widths or row heights yet.  But you can give this rule a try for now.  It is attached as a text file, because it is a bit long.

 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

Message 7 of 7

claudio.ibarra
Advocate
Advocate

Thank you! I can work with this and hopefully tweak it to suit. Thank you so much! 

0 Likes