Operations on Family Table Items
Functions Introduced:
• ProFamtableItemAdd()
• ProFamtableItemRemove()
• ProFamtableItemToModelitem()
• ProModelitemToFamtableItem()
• ProFamtableItemToParameter()
• ProParameterToFamtableItem()
These functions enable you to programmatically manipulate family table items (column values).
The function ProFamtableItemAdd() adds the specified item to a family table. Similarly, ProFamtableItemRemove() removes the specified item from the family table.
The functions ProFamtableItemToModelitem() and ProModelitemToFamtableItem() convert between ProFamtableItem and ProModelitem objects. Note that user selections (ProSelection objects) can be converted to ProFamtableItem objects by calling the functions ProSelectionModelitemGet() and ProModelitemToFamtableItem().
The functions ProFamtableItemToParameter() and ProParameterToFamtableItem() convert between ProFamtableItem and ProParameter objects. Note that you might need to call ProParameterToFamtableItem() after calling ProParameterSelect() (which enables users to select parameters from a menu).
Column Name Size in Family Tables
#define PRO_FAMTAB_FIELDNAME_SIZE changes field limit for the family table column name to PRO_PATH_SIZE.
So applications built on and after Creo 11.0.0.0 can work with longer family table columns names.