Hello!
I have an assembly and some components (CATPart or CATProduct) have, among other user defined properties, a parameter called "My_Parameter". Let it's value be "The part is mine."
I would like to know which is the most convenient way to identify this parameter for a given component (or better said, to identify the component which posses this parameter). I know that there is a Parameter collection for the Product object and one solution would be to parse the tree recursively and for each component to loop through his collection of parameters until a match is find. Is there a better solution?
I would be grateful if someone could post a code snippet showing me how to identify this parameter.