Category Assembly, Object ProAsmcomp

Function ProAsmcompVisibilityGet


Description
Returns the visibility of the specified component.
Replacement in Object TOOLKIT: pfcComponentPath::GetIsVisible
Synopsis
#include <ProAsmcomp.h>
ProErrorProAsmcompVisibilityGet(
ProAsmcomppath* p_comp_path
/* (In)
The path to the member.
*/
ProSimprep* p_simp_rep
/* (In)
The handle to the simplified representation. If this is NULL, the function uses the current, active representation of the current assembly.
*/
ProBoolean* p_visibility
/* (Out)
This is PRO_B_TRUE if the component is visible in the simplified representation; otherwise, this is PRO_B_FALSE.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_BAD_CONTEXTThe assembly is in the master representation.

Manual References:

  1. Assembly: Basic Assembly Access: Simplified Representations

Sample Code References:

  1. pt_examples ( TestSimpRep.c )