Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Title Block

3 REPLIES 3
Reply
Message 1 of 4
schae235
349 Views, 3 Replies

Title Block

Is there a way to keep a tally of how many times a title block is used in a drawing?

INV 2012 SP1
Windows 7 64 Bit
ATI FirePro V5800
14.0 GB RAM
3 REPLIES 3
Message 2 of 4
jletcher
in reply to: schae235

If they are the same I think an ilogic code can count them not sure but just for me why would someone need this.

 

Never know may learn something new.

 

 Thanks

Message 3 of 4
schae235
in reply to: jletcher

Long story short because of QA.

INV 2012 SP1
Windows 7 64 Bit
ATI FirePro V5800
14.0 GB RAM
Message 4 of 4
innovatenate
in reply to: schae235

You may try some iLogic code like the following. This code prints out the name of the Title Block used on each sheet. 

 

iLogic Code:

Dim oDoc As Document = ThisApplication.ActiveDocument 
Dim oDrgDoc As DrawingDocument = oDoc
Dim oSheetCount As Integer = oDrgDoc.Sheets.Count
Dim msg As String()
ReDim msg(oSheetCount)
Dim i As Integer 

For i = 1 To oSheetCount
    msg(i)= oDrgDoc.Sheets(i).TitleBlock.Name
    msgString = msgString & Chr(13) & "Sheet " & i & "" & msg(i) 
Next

MsgBox (msgString, ,"TitleBlocks Used")



Nathan Chandler
Principal Specialist

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report