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: 

Add iPart Column?

5 REPLIES 5
Reply
Message 1 of 6
santiagodiaz
1991 Views, 5 Replies

Add iPart Column?

Is there a way to add an iPart column to the iPartTableColumns collection?
I'm using Inventor 2009.
5 REPLIES 5
Message 2 of 6
santiagodiaz
in reply to: santiagodiaz

Another question, can I assign an expression to an iPartTableCell?

It seems like I can't, the API will only support value, not expression. Can someone please confirm this?
If this were so, then is there a way I can access the excel spreadsheet that powers the iPart?
By accessing the excel file, I'm assuming that I could do a whole lot more. Edited by: SantiagoDiaz on Nov 22, 2009 4:50 PM
Message 3 of 6
johnnr
in reply to: santiagodiaz

Is it possible now?

Message 4 of 6

Hi,

 

the iPart table links to an Excel file. Here is the first blog of series of iPart table I am writing:

http://adndevblog.typepad.com/manufacturing/2013/02/manipulate-rows-and-columns-of-ipart-1.html

Message 5 of 6
johnnr
in reply to: xiaodong_liang

That's cool.

 

I use copy and delete to add/delete rows. But I haven't figured out how to add/delete columns without the excel 12.0 object library.

 

Thanks

Message 6 of 6
xiaodong_liang
in reply to: johnnr

Hi,

 

you can delete the row/column byiPartTableRow.Delete or iPartTableColumn.Delete without Excel. But you have to use Excel lib to add  row/column

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

Post to forums