API 설명서 > Drawings and detail > Object ProDrawing > Function ProDrawingDtlsyminstsCollect
Function ProDrawingDtlsyminstsCollect
Description
Collect symbol instances in the specified drawing
Replacement in Object TOOLKIT:
Synopsis
#include <ProDtlsyminst.h>
ProDrawingDtlsyminstsCollect
(
ProDrawing drawing
/* (In)
The drawing handle.
*/
int sheet
/* (In)
The sheet number. If the value is PRO_VALUE_UNUSED, the function uses the current sheet.
*/
ProDtlsyminst** syminsts
/* (Out)
The pointer to ProArray of ProDtlsyminst. The function allocates memory for array. User must release memory by ProArrayFree.
*/
)
Returns
The function successfully collected the symbol instances.
One or more arguments was invalid.
The function failed.
No symbol instances were found.
The function found too many instances to be contained in the output ProArray. Use ProDrawingDtlsyminstVisit instead.
Sample Code References
User Guide References
도움이 되셨나요?