I'm trying to create a macro in CATIA V6 that reads and updates some user parameters. Those parameters are under a Knowledge Engineering Specification under the main assembly. I have seen that in V5, it was as easy as defining the product and then accessing the parameters by product.Parameters. However, I don't know how to access them in V6 where the Product type has been replaced by VPMReference.
I have defined my VPMReference and I can see that my Knowledge Engineering Specification is under the RepInstances as a VPMRefReference, but I don't know how to access to the user defined parameters in either of them.