Skip to main content
13-Aquamarine
Solved

How to use ProDrawingSolidVisit

Hello Friends,

 

I have to find solid from drawing for that I used ProDrawingSolidVisit() function , but it need visit function , please help me to create visit function .

 

Regards,

Kunal 

RPN
RPNAnswer
18-Opal

I’m not sure what you looking for, a guess

 

extern ProError ProDrawingCurrentsolidGet (ProDrawing drawing, ProSolid* solid);
/*
Purpose:
Gets the current drawing solid model for the drawing.

Input Arguments:
drawing - The drawing handle.

Output Arguments:
solid - The current solid model.

Return Values:
PRO_TK_NO_ERROR - The function succeeded.
PRO_TK_BAD_INPUTS - One or more arguments was invalid.
PRO_TK_E_NOT_FOUND - No current model is assigned to the drawing.
*/

2 replies

24-Ruby IV

There are some articles on how this function works:

 

Translate
RPN
RPN18-OpalAnswer
18-Opal

I’m not sure what you looking for, a guess

 

extern ProError ProDrawingCurrentsolidGet (ProDrawing drawing, ProSolid* solid);
/*
Purpose:
Gets the current drawing solid model for the drawing.

Input Arguments:
drawing - The drawing handle.

Output Arguments:
solid - The current solid model.

Return Values:
PRO_TK_NO_ERROR - The function succeeded.
PRO_TK_BAD_INPUTS - One or more arguments was invalid.
PRO_TK_E_NOT_FOUND - No current model is assigned to the drawing.
*/

Translate