API 설명서 > Drawings and detail > Object ProDrawing > Function ProDrawingDtlentitiesCollect
Function ProDrawingDtlentitiesCollect
Description
Collect all entities in the specified drawing and sheet.
Note : The function cannot access symbol definitions for special symbols, such as, datum targets or parametric connector symbols.
Replacement in Object TOOLKIT:
Synopsis
#include <ProDtlentity.h>
ProDrawingDtlentitiesCollect
(
ProDrawing drawing
/* (In)
The drawing
*/
ProDtlsymdef* symbol
/* (In)
If you are collecting a detail item in the drawing, set the parent to NULL. If you are collecting draft entity in a symbol definition, set the parent to be that symbol definition.
*/
int sheet
/* (In)
The sheet number. If the value is PRO_VALUE_UNUSED, the function uses the current sheet.
*/
ProDtlentity** entities
/* (Out)
A list of views. The function allocates the memory for this argument. To free the memory, call ProArrayFree().
*/
)
Returns
Success
One or more arguments was invalid.
The function failed.
No entities were found.
The function found too many entities to be contained in the output ProArray. Use ProDrawingDtlentityVisit instead.
Sample Code References
User Guide References
도움이 되셨나요?