User's Guide > Model-Based Definition and Drawing Tables > Selecting Drawing Tables and Cells
Selecting Drawing Tables and Cells
Function Introduced:
ProSelectionDwgtblcellGet()
In order to ask the user to select a table cell, use the option dwg_table as input to ProSelect(), and then use ProSelectionModelitemGet() to acquire the ProDwgtable handle to the table.
To select a table cell, use the option table_cell and call ProSelectionModelitemGet() to get the table handle, and the special function ProSelectionDwgtblcellGet() that returns the IDs of the selected table segment, column and row. The function ProSelectionDwgtblcellGet() returns row and column values starting from 0. To get the actual values of the rows and the columns, add 1 to the result, so that these can be used in other Creo TOOLKIT functions.
這是否有幫助?