Hello,
I would like check the existence of formula for a parameter.
The CATIA V5 R10 Online Help suggests this solutions
Dim product1 As Product
Set product1 = CATIA.ActiveDocument.Product
Dim parameters1 As Parameters
Set parameters1 = product1.Parameters
Dim param1 As Parameter
Set param1 = parameters1.Item(1)
Set param1_rel = param1.OptionalRelation
MsgBox IsNull(param1_rel)
‘if false, there is no formula for the parameter
‘if right, there is a formula for the parameter
I receive all the time the same answer : False
Why ?
Did you used the “optionalrelation” in the past ?
Do you know a other solution to check the existence of formula ?
Thanks
Thimbous
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP