Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
Dear,
We like to publish a STEP file when Creo has some bends defined using the sheetmetal option in an automatic way. Can we set or get a parameter when this is the case ? We then pass this to Windchill where the publisher creats the STEP file.
Regards,
Bernard
Solved! Go to Solution.
After some searching I found the way to do this; the parameter SMT_THICKNESS appears automaticaly when one uses the sheetmetal option. I propagated this further to a designated parameter PUBLISH_STEP (Yes/No) that will transfer this to Windchill's Attribute PUBLISH_STEP
IF exists("SMT_THICKNESS")
PUBLISH_STEP=YES
ENDIF
Take a look at Model Check. I think it can check for different feature types. Maybe it can set a parameter based on their presence. I know that publishing additional files based on a parameter's value is easy enough...
After some searching I found the way to do this; the parameter SMT_THICKNESS appears automaticaly when one uses the sheetmetal option. I propagated this further to a designated parameter PUBLISH_STEP (Yes/No) that will transfer this to Windchill's Attribute PUBLISH_STEP
IF exists("SMT_THICKNESS")
PUBLISH_STEP=YES
ENDIF
"IF exists" used to only work in repeat region relations. After a quick test I'm very glad to see it now works correctly in the regular model relations as well.
If you want to minimize the chance that a user will delete it, consider placing it in the post-regeneration section of the relations. Most users never look there...