API 文件集 > Drawings and detail > Object ProDwgtable > Function ProDwgtableCellComponentGet
Function ProDwgtableCellComponentGet
Description
Returns the full path to the component referenced in a cell in a repeat region of a drawing table.
Note: this function will not return a valid result if the cell has the attribute "NO DUPLICATE" or "NO DUPLICATE/LEVEL" as there is no unique path available. In this case use the function ProDwgtableCellRefmodelGet().
Replacement in Object TOOLKIT:
Synopsis
#include <ProDwgtable.h>
ProDwgtableCellComponentGet
(
/* (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.
*/
ProAsmcomppath* component
/* (Out)
The full path to the component referenced by the cell.
*/
)
Returns
The function succeeded.
One or more input arguments was invalid.
The table cell does not contain a reference to a component model.
An error occurred and the function failed to construct the component path. This could be because there is no unique path to a single component available.
See Also
Sample Code References
這是否有幫助?