Message 1 of 9
iLogic : modify and update parameters/iProperties
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I try to modify iProperties or parameters on a model using an iLogic form. The problem is the model is not always updated. For example, I have :
If Parameter("Hauteur_TAB") = 2000 Then
'MessageBox.Show(iProperties.Value("AFNOR 60,3 x 4 00000001:1", "Project", "Part Number"), "Title")
iProperties.Value("AFNOR 60,3 x 4 00000001:1", "Project", "Part Number") = "4.7181.0455.0.0"
'MessageBox.Show(iProperties.Value("AFNOR 60,3 x 4 00000001:1", "Project", "Part Number"), "Title")
End If
RuleParametersOutput()
InventorVb.DocumentUpdate()
'MessageBox.Show(iProperties.Value("AFNOR 60,3 x 4 00000001:1", "Project", "Part Number"), "Title")
iProperties.Value("AFNOR 60,3 x 4 00000001:1", "Project", "Part Number") = "4.7181.0455.0.0"
'MessageBox.Show(iProperties.Value("AFNOR 60,3 x 4 00000001:1", "Project", "Part Number"), "Title")
End If
RuleParametersOutput()
InventorVb.DocumentUpdate()
The parameter "Hauteur_tab" is modified by a form. If I use the MessageBoxes, I can see the Part Number is modified. But if I check on the part (iProperties), it has always the old value, like if the rule could not send back the result in the part. Sometimes it works, sometimes not...