×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Drafting Tables Automation

Drafting Tables Automation

Drafting Tables Automation

(OP)
Does anyone have any code snippets for the automation of tables on a drawing sheet? I haven't done any tables inside drafting and was wondering if anyone has any ideas.

Thanks

RE: Drafting Tables Automation

You need to collect a load of tags to get anywhere with tables.

First you need to get the tag of the table:-

CODE

ufs.Tabnot.AskTabularNoteOfSection(titleBlock1.Tag, tabular_note)] 

Then you need to get the tags of the column and row you are interested in:-

CODE

ufs.Tabnot.AskNthRow(tabular_note, 0, row0)]
ufs.Tabnot.AskNthColumn(tabular_note, 6, col6) 

Then you can get the tag of the cell:-

CODE

ufs.Tabnot.AskCellAtRowCol(row0, col6, sizeCell)] 

Now you can get the contents of the cell:-

CODE

ufs.Tabnot.AskCellText(sizeCell, sizetext)] 

Set the contents using SetCellText.

Mike Hyde
www.astonmartin.com
NX8.5 with TC9.1

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources