Documentação da API > Assembly > Object ProAsmcomp > Function ProAsmcompSubstituteGet
Function ProAsmcompSubstituteGet
Description
If a component is substituted with a given simplified rep, then get the path and the handle of the substituted component.
Replacement in Object TOOLKIT:
Synopsis
#include <ProSimprep.h>
ProAsmcompSubstituteGet
(
ProSimprep* p_simp_rep
/* (In)
The handle to the simplified representation.
*/
ProAsmcomppath* path_to_orig_comp
/* (In)
The component path, which is being substituted, including component id (may NOT be NULL).
*/
ProAsmcomppath* path_to_subst_comp
/* (Out)
Path to the substitute component, NOT including component.
*/
ProAsmcomp* substitute
/* (Out)
Handle to the substitute component.
*/
)
Returns
The function works fine.
One or more of the arguments are invalid.
The component is not a substitute.
User Guide References
Isto foi útil?