Community Tip - You can change your system assigned username to something more personal in your community settings. X
I can delete all relations from a mapkey, is there anyway to delete all user defined parameters from a mapkey?
I'd like to delete them all without having to know what they are. Then recreate just the ones I want.
You should be able to. The trick is to switch to the old parameter interface first. Take a look at the attached config.pro file for how I create them. You should be able to modify this slightly to delete everything first before recreation.
You could create a custom filter to filter out all of the user defined parameters that were not restricted and then you can do a CTRL A and delete. The relevant mapkey will look something like this depending on what version you are using:
mapkey(continued) ~ Key `relation_dlg` `ParamsPHLay.ParTable` 37814273 `Ctrl+A`;\
mapkey(continued) ~ Open `relation_dlg` `ParamsPHLay.ParamUtils`;\
mapkey(continued) ~ Close `relation_dlg` `ParamsPHLay.ParamUtils`;\
mapkey(continued) ~ Activate `relation_dlg` `ParamsPHLay.PBDelParam`;
You mentioned deleting relations. The above won't work if one of the parameters are being used in a relation. I am not sure there is a way to filter for that.
If you use Chris' approach, you could create a custom filter to only display parameters with 'Access' = 'Full'
By the way, once created the filter is preserved for that entire Creo session and can be applied to any model.
I didn't know you could use CTRL A to select them all. Great tip. I like the idea of using two filters.