ilogic rule refresh ipropertie values in idw

ilogic rule refresh ipropertie values in idw

ronald.muench
Explorer Explorer
593 Views
2 Replies
Message 1 of 3

ilogic rule refresh ipropertie values in idw

ronald.muench
Explorer
Explorer

HI,

i created a rule to change the value of a custom iproperty and to show this value on the drawing.

It works well to change the value. But the value showing on the drawing is not updated. I have to open and close the iproperties, then the drawing updates and shows the right value.

 

i tried

InventorVb.DocumentUpdate()
RuleParametersOutput()
iLogicVb.UpdateWhenDone = True

 at the and of the rule. but it does not work.

Is there another command to refresh the drawing?

 

I also have the problem, if i hit the button "DONE" on a Form after running a rule, it minimizes the Inventor Window. What am i doing wrong?

0 Likes
Accepted solutions (1)
594 Views
2 Replies
Replies (2)
Message 2 of 3

mcgyvr
Consultant
Consultant
Accepted solution
InventorVb.DocumentUpdate(True)


-------------------------------------------------------------------------------------------
Inventor 2023 - Dell Precision 5570

Did you find this reply helpful ? If so please use the Accept Solution button below.
Maybe buy me a beer through Venmo @mcgyvr1269
0 Likes
Message 3 of 3

ronald.muench
Explorer
Explorer

Thank you,

InventorVb.DocumentUpdate()
iLogicVb.UpdateWhenDone = True

is also working

0 Likes