Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
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
Solved! Go to Solution.
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.
*/
There are some articles on how this function works:
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.
*/