Inventor Engineer-to-Order

Inventor Engineer-to-Order

Reply
Active Contributor
tmckeand
Posts: 37
Registered: ‎11-23-2011
Message 1 of 3 (130 Views)
Accepted Solution

IvCustomTable Question

130 Views, 2 Replies
09-07-2012 08:48 AM

I'm inserting a custom table and I'm getting an error about the content list.

child rule:

 

Child shopDetails As :IvCustomTable
        placementPoint = Point(0.625,3.5,0)
        title = "SHOP DETAILS"
        columnTitles = {"DWG NO.","DESCRIPTION"}
        numColumns = 2
        numRows = 18
        cellContents = {"1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18"}
    End Child

 

 

Error:

 

 

Any Ideas?

Board Manager
Jon.Balgley
Posts: 243
Registered: ‎08-23-2006
Message 2 of 3 (128 Views)

Re: IvCustomTable Question

09-07-2012 09:22 AM in reply to: tmckeand

I think the cellContents has to be a list of lists, like this:

 

{{"1", "A"}, {"2", "B"}, ... {"18", "Z or whatever"}}

 

I haven't tried it myself, but that's what I infer from the error message.



Jon Balgley
Autodesk Configurator 360 / Inventor ETO team
Autodesk, Inc.

Active Contributor
tmckeand
Posts: 37
Registered: ‎11-23-2011
Message 3 of 3 (123 Views)

Re: IvCustomTable Question

09-07-2012 11:18 AM in reply to: Jon.Balgley

That worked. Its a shame that the wiki doesn't reflect this.

 

 

Thanks

Announcements
Manufacturing Community
The Manufacturing Community provides additional access to tips, tutorials, blogs and networking with peers.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.