Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Creo 10
I have been tasked with providing restricted values for parameters based on my material selection.
Example, if I select 1018 CRS, I only want my "finish" parameter restricted values to be powdercoat / black oxide
If I select 6061 aluminum, I want my "finish" parameter restricted to clear anodize / black anodize.
My 1st attempt, your able to create material parameters for individual materials. However, if you create restricted values for material parameters, the restricted values do not save with the material file. If this worked each material would be able to have its very own set of "Finish" parameter values and this is all I'm after.
My 2nd attempt, was to have each material having its own special parameter. EX.... 1018_Finish, 6061_Finish. Then have a restricted variable file grab the appropriate information.
This worked, however I need my drawings to be populated with a &Finish. I thought adding a IF exist function in my relations would cover this (see example below). However, I'm unsure how to add layers to this because as of right now if "finish_1018" doesn't exits, then finish equals x and it doesn't continue to look for Finish_6061.
If there's a better method to achive this please share. Thank you!
IF exists ("FINISH_1018:MTRL")
FINISH=FINISH_1018:MTRL
ELSE
FINISH="X"
ENDIF
IF exists ("FINISH_6061:MTRL")
FINISH=FINISH_8620:MTRL
ELSE
FINISH="X"
ENDIF
I can offer some additional perspective.
In my company we don't add these as parameters. We have a mapkey that calls a notes app and then the if then logic is in that app. Presumably if you wanted to make it a parameter that same external app could also add in a parameter. See attached PDF from the 2024 PTC/User conference that shows how we do this. Unfortunately, the animated GIFs don't play.
Some companies control material and finishes in Windchill and then append that data to the drawing with a Windchill coversheet.
Hi @MORECREO,
I wanted to see if you got the help you needed.
If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.
Of course, if you have more to share on your issue, please pursue the conversation.
Thanks,
Anurag