Category Drawings and detail, Object ProDwgtable

Function ProDwgtableCellRefmodelGet


Description
Returns the reference assembly and component referred to by this cell in a repeat region drawing table. Differs from ProDwgtableCellComponentGet in that this function will return the reference objects if the cell attribute is set to "NO DUPLICATE" or "NO DUPLICATE/LEVEL".
Replacement in Object TOOLKIT: pfcTable::GetCellTopModel
pfcTable::GetCellReferenceModel
Synopsis
#include <ProDwgtable.h>
ProErrorProDwgtableCellRefmodelGet(
ProDwgtable* table
/* (In)
The drawing table.
*/
int column
/* (In)
The cell column. Column indices start at 1.
*/
int row
/* (In)
The cell row. Row indices start at 1.
*/
ProAssembly* assembly
/* (Out)
The top model for the region.
*/
ProMdl* model
/* (Out)
The model of record for the cell.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_E_NOT_FOUNDThe cell does not have an associated model.
See Also
ProDwgtableCellComponentGet

Manual References:

  1. Model-Based Definition and Drawing Tables: Repeat Regions
  2. Model-Based Definition and Drawing Tables: Repeat Regions