cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

How to use ProDrawingSolidVisit

KB_9753804
13-Aquamarine

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 

ACCEPTED SOLUTION

Accepted Solutions
RPN
17-Peridot
17-Peridot
(To:KB_9753804)

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

View solution in original post

2 REPLIES 2

There are some articles on how this function works:

 

RPN
17-Peridot
17-Peridot
(To:KB_9753804)

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

Announcements


Top Tags