Skip to main content
13-Aquamarine
December 3, 2021
Solved

How to use ProDrawingSolidVisit

  • December 3, 2021
  • 2 replies
  • 1399 views

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 

Best answer by RPN

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 III
December 3, 2021

There are some articles on how this function works:

 

RPN
RPN18-OpalAnswer
18-Opal
December 4, 2021

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.
*/