Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Hole table

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
GosponZ
347 Views, 2 Replies

Hole table

I'm wandering if hole table header can be in connection with view label. I do have three views with holes, and 3 hole tables. Every time i'm type in header which view belong to which table. Eg. Hole table - Front View. Is this possible?

Thanks for any cooments and help.

2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: GosponZ

Public Sub Hole_Table_Title()

    Dim oDoc As DrawingDocument
    Set oDoc = ThisApplication.ActiveDocument
    
    Dim oSheet As Sheet
    Set oSheet = oDoc.ActiveSheet
    
    Dim oTable As HoleTable
    
    For Each oTable In oSheet.HoleTables
        oTable.Title = oTable.ParentView.Label.Text
    Next
    
End Sub

 

Message 3 of 3
GosponZ
in reply to: Anonymous

Thank you'

it  working as i want.

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

Post to forums  

Autodesk Design & Make Report