This is somewhat of a follow-up to an earlier thread, but with a much more specific question.
Basically, I'm having a problem with a system parameter not updating. When I run this test script, I get a different value between the two parameters. There should not be. No matter what I do, I cannot force them to be the same.
product1.Products.Item(1).ReferenceProduct.DescriptionRef displays the correct value.
Can anyone help me figure out how to make them equal one another?
Thank you.
Basically, I'm having a problem with a system parameter not updating. When I run this test script, I get a different value between the two parameters. There should not be. No matter what I do, I cannot force them to be the same.
product1.Products.Item(1).ReferenceProduct.DescriptionRef displays the correct value.
Code:
Sub CATMain()
Set productDocument1 = CATIA.ActiveDocument
Set product1 = productDocument1.Product
product1.Update
msgbox = product1.Products.Item(1).ReferenceProduct.DescriptionRef
msgbox = product1.Products.Item(1).DescriptionRef
End Sub
Can anyone help me figure out how to make them equal one another?
Thank you.