Skip to main content
1-Visitor
May 22, 2017
Question

create a drawing table using Object Toolkit

  • May 22, 2017
  • 1 reply
  • 1501 views

Can anyone please guide how to create a drawing table using Object Toolkit?

I found two API for it,

pfcTableCreateInstructions::Create()

pfcTableOwner::CreateTable()

Can anyone explain how to use it?

1 reply

17-Peridot
May 23, 2017

Hello!

1) Create pfcTableCreateInstructions object, using method pfcTableCreateInstructions_ptr    Create (pfcPoint3D_ptr Origin)

2) Fill this object using methods SetColumnData, SetRowHeights, etc

3) Past this object to pfcTable_ptr    CreateTable


or you can load the table from .tbl file, saved from Creo

1) Load table data from file to object pfcTableRetrieveInstructions_ptr    Create (xrstring FileName, pfcPoint3D_ptr Position)

2) Past this object to  pfcTable_ptr    RetrieveTable    (pfcTableRetrieveInstructions_ptr Instructions)


Some thing like this.