I am working on this program that is part of a large in-house program here. I bring up a form that looks at current config specific properties and fills the form with the current values. If the user changes configs, I don't totally update the form in order that those other values can be applied to the then current config. However, there is one of the fields that deals with the length of the part. If the user has grabbed the length value by highlighting the dimension and clicking the button to grab that value, it's pasted into the form. On a config change, that value stays there.
But, if the user clicks the button that says he wants the length Property, such as "D1@Extrude1@@ snipped-for-privacy@TestPart.SLDPRT", then on a config change I search that new config to see if that same dimension exists in the new config. If so, update the property string so it has the correct config & file name in it. This keeps the user from having to reselect that dimension each time.
My problem is that I want to be able to distinguish whether or not that dimension is even really available in the new config. I have tried the Visible property, but it finds the dim even if the associated feature is suppressed, and even if the associated sketch is also suppressed. I have searched on visible, active , suppressed, etc to no avail. I wasted about 2 hours last night looking, and I'm not a happy camper at this time. Any thoughts?
WT