Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Working with relations and parameters

  • Thread starter Thread starter lcl
  • Start date Start date
L

lcl

Guest
Hi,
Happy new year

I need to know if this is possible, and if it is how can be done or other possible ways to do it

If I have in an assembly and I have the following parameter:
"n_cav" as integer, and I have a cycle "IF - ENDIF" that just allow the parameter to be 2 or 3
I have, amoung others, 2 parts "part2" and "part3", what I need to do is when "n_cav == 2" suppress "part3" and resume "part2" and if "n_part ==3" do the opposite.

Is this possible?
How?
Other ways to the this?

Thanks

Regards
 
Not possible in relations - you will need the advanced assembly module. Then you can use PRO/Program to do this.

Make sure both components are not suppressed and are one after the other in the model tree (ie no components in between)
Go into PRO/Program (location depends on Wildfire/Creo version)
Find part3 in the editor & put IF n_cav == 2 before the ADD, put ELSE between the 2 parts & finish with ENDIF after the END ADD.
 

Part and Inventory Search

Sponsor

Back
Top