Parameter mismatch in Product vs Part
Parameter mismatch in Product vs Part
(OP)
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.





RE: Parameter mismatch in Product vs Part
I tried on a sub-assy as item(1) and for a part instance--still the same value...
I use V5R26
regards,
LWolf
RE: Parameter mismatch in Product vs Part
The question was, "Can anyone help me figure out how to make them equal to one another"? In my parts. Not yours.
This is tied to a bug in Knowledgeware.
RE: Parameter mismatch in Product vs Part
CODE --> WillThatWork?
indocti discant et ament meminisse periti
RE: Parameter mismatch in Product vs Part
RE: Parameter mismatch in Product vs Part
RE: Parameter mismatch in Product vs Part
RE: Parameter mismatch in Product vs Part
--Doug
RE: Parameter mismatch in Product vs Part