| Description | |||||||||||||||||
| Visits all draft entities stored in the specified drawing and sheet.
Note : The function cannot access symbol definitions for special symbols, such as, datum targets or parametric connector symbols. |
|||||||||||||||||
| Synopsis | |||||||||||||||||
| #include <ProDtlentity.h> | |||||||||||||||||
| ProError | ProDrawingDtlentityVisit | ( | |||||||||||||||
| 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. | |||||||||||||||||
| */ | |||||||||||||||||
| ProDtlitemVisitAction visit_action | |||||||||||||||||
| /* (In) | |||||||||||||||||
| the function that gets called for each draft entities being visited. | |||||||||||||||||
| */ | |||||||||||||||||
| ProDtlitemFilterAction filter_action | |||||||||||||||||
| /* (In) | |||||||||||||||||
| the function that gets called for each draft entities. This function decides whether the entities should be visited or skipped. If NULL, all entities are visited using the action function. | |||||||||||||||||
| */ | |||||||||||||||||
| ProAppData appdata | |||||||||||||||||
| /* (In) | |||||||||||||||||
| caller-specified data that gets passed to the action and filter functions. | |||||||||||||||||
| */ | |||||||||||||||||
| ) | |||||||||||||||||
| Returns | |||||||||||||||||
|
|||||||||||||||||