Is there is a way to password protect the relation that i define????
Nope. The best you can do is hide them in a feature.
I would like to understand how to hide it.
By hide it, Tom just means put it into a feature so it doesn't show up in the main relations. You could still see it by changing the "look in" from part to feature and picking the feature the relation was in.
If you really wanted to you could also come up with a custom encoder and then decode a gibberish string to get you want you wanted. You could make it as complicated as you like. IE something like:
string = "auioshfpiougrjbflkjskuvapyiuerhwlktjrbewgbfysdflgv"
decode = extract(string,6,1) + extract(string,6,1)
"decode" would then equal "hi"
Note that if you do this in the main part relations it will turn "decode" into a parameter which will probably defeat the purpose as someone could just look at the parameter value.
May be I am asking for minor things.. Would you please let me know how to set decode string for relation. I would like to hide relations set by me into repeat region.
Thanks in advance!
it is not possible to hide relations.
What cristopher rees is telling by "decode" would then equal "hi"? Does it mean that we can protect it? If yes, I would like to know how to do it.
No you can not protect it. I was just giving an example by which you can obscure what you are doing if you wanted so at a quick glance it wouldn't be obvious. You can not hide or password protect relations though.
If you are worried about someone else getting your intellectual property you should not be giving out the native files. That is what STEP, etc formats are for.
Thank you very much. I got clear idea on this now.
Actually I am into the toolkit application development. I need to do relations into table and would request user not to change it..
I thought if I myself could protect or hide it, I need not to be worried about it. Anyway, Thanks again for information.
If you are looking to lock something down so the user can't modify it I would suggest looking at a Product Data Management (like Windchill - PDMLink) driven parameter that gets set by an administrator. Windchill parameters are not modifiable by the users. This will add a lot of complexity though.
You could also make a "dumb" table as Martin suggests below by breaking the parametric relationship, but if you don't care about the parametric relationship there would be no reason to create relations in the first place. You could just have the toolkit app set in the info into the table as needed.
if you want to "hide relations set in repeat region", then you have to:
If i am using some automation tools like API toolkit, then is it possible to lock or hide my relations by defining it in a external file and retrieve it when the model is open by the user?????
I am not using Creo API, therefore I do not know its functionality .