@AS_8639795 wrote:
Hi @MartinHanak
Please find attached main assembly model and pls given a solution to find a PART ID in proprogram or
Is there any other possibility for the below conditions?
Need to unhide a coil end plate in main assembly with parametric commend are given "YES" and hide when parametric comments are given "NO" for a particular component or part.
Thank you.
Hi,
download modified data and test them:
- open blower_motor_asm.asm
- set PLATES_AVAILABLE parameter value to NO
- regenerate
- plates are suppressed
Modification description:
modification no.1 ... eva_coil_4d_lhs.asm ... pro/program
INPUT
PLATES_AVAILABLE YES_NO
END INPUT
...
IF PLATES_AVAILABLE == YES
ADD PART COIL_TOP_ENDPLATE
INTERNAL COMPONENT ID 814
PARENTS = 40(#5) 121(#7)
END ADD
ADD PART COIL_BTM_ENDPLATE
INTERNAL COMPONENT ID 817
PARENTS = 40(#5)
END ADD
END IF
modification no.2 ... open blower_motor_asm.asm ... pro/program
...
EXECUTE ASSEMBLY EVA_COIL_4D_LHS
PLATES_AVAILABLE = PLATES_AVAILABLE
END EXECUTE
Also please read http://support.ptc.com/help/creo/creo_pma/usascii/index.html#page/fundamentals%2Fprogram%2FSpecifying_Part_to_Execute_in_an_Assem_Program.html%23 document