Hello,
we are doing a customization in inventor 2012 using vb.net as development language. The app is deployed in customer place and is working fine as programmed.
However the correct usage of application is dependent on custom tab in iProperty. If user manually makes changes in iproperty then application will work incorrectly; if managed through application application works fine.
This typical customer makes change in Custom tab in iproperty and works in through addin application which will definitely produce improper result.
My question is, Is it possible to restrict user from going to custom tab in iproperties.
Any help would be greatly appreciated
regards
Amit
Solved! Go to Solution.
Solved by alewer. Go to Solution.
You could possibly save your important property as an actual setting in your addin or save the setting as an Attribute in an AttributeSet in the part itself, then parse it to an iproperty for viewing purposes only. If the user changes it you could regenerate your script on a document save event over writing user input.
In addition to Boorda's suggestions (application setting or attributes), you can also create additional property sets that don't appear to users on the iProperty dialog/custom tab:
Dim secretPropSet As Inventor.PropertySet = mDocument.PropertySets.Add("Secret Property Set") Dim secretProp As Inventor.Property = secretPropSet.Add("ABC-XYZ", "Secret Property")
This property set and property will not be visible to the average user. However, it can still be discovered and editied by VBA/ilogic/API. The same is true for attributes.
Hi Amit,
If the suggestions helped then please mark them as solution.
I think it's also possible to mark multiple answers as solution if you wish.
Thank you,
If possible, can anyone provide a more detailed procedure for setting up custom iProperties that can be kep hidden/block user access using the code listed above?
Thanks for you help!
"Another frusterated instructor..."
Can't find what you're looking for? Ask the community or share your knowledge.