Object ProCompdisplay

Function ProCompdisplayInit


Description
Similar to ProSimprepInit, except for this is for Comp Displays.
Replacement in Object TOOLKIT: wfcWSolid::GetStyleStateFromName
wfcWSolid::GetStyleStateFromId
Synopsis
#include <ProSimprep.h>
ProErrorProCompdisplayInit(
ProName rep_name
/* (In)
The name of the Comp Display. If you specify this argument, the function ignores rep_id.
*/
int rep_id
/* (In)
The identifier of Comp Disp if you did not specify the name (you specified NULL).
*/
ProSolid p_solid
/* (In)
The solid that contains the Comp Display.
*/
ProCompdisp* p_handle
/* (Out)
The handle to the Comp Display if found.
*/
)
Returns
PRO_TK_NO_ERRORThe function found the simplified representation in the solid.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.