API 文件集 > Assembly > Object ProAsmcomp > Function ProAsmcompVisibilityGet
Function ProAsmcompVisibilityGet
Description
Returns the visibility of the specified component.
Replacement in Object TOOLKIT:
Synopsis
#include <ProAsmcomp.h>
ProAsmcompVisibilityGet
(
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
The function successfully retrieved the information.
One or more of the input arguments are invalid.
The assembly is in the master representation.
Sample Code References
這是否有幫助?