Problem Updating Inventor Part Parameters by Programming

est_david_bermudez
Participant
Participant

Problem Updating Inventor Part Parameters by Programming

est_david_bermudez
Participant
Participant

Good afternoon,

I’m having trouble updating the parameters of a part. When I edit the parameters, I try to update the part using doc.Update, but every time I make a change, I have to manually click the "Local Update" button because the update doesn’t apply correctly.

I also tried using doc.Update2(True), but it doesn’t work either. I’m not sure what’s going wrong.

Any advice would be greatly appreciated!

 

 

 

 

GoExcel.Open("C:\Users\dave0\OneDrive\Escritorio\ProgramaInventor\ProgramaInventor.xlsm")

Dim doc As Document = ThisApplication.ActiveDocument

RadioConexion = GoExcel.CellValue("J" & 4)
Espesor = GoExcel.CellValue("M" & 4)

doc.Update

GoExcel.Close()

 

 

 

 

0 Likes
Reply
Accepted solutions (1)
80 Views
1 Reply
Reply (1)

est_david_bermudez
Participant
Participant
Accepted solution

I managed to solve the issue! The problem was related to the settings of the rule execution. To fix it, I went into the rule options and enabled the "Immediately Update Dependent Rules" option.

After doing this, the part updates correctly without needing to manually click the "Local Update" button.

I hope this helps anyone experiencing a similar issue!Captura de pantalla 2024-12-10 114747.png

0 Likes