I have created a dialog box that has a drop-down menu letting users select the components they would like to use in NXOpen. Once a selection has been made the Expressions dialog box updates the value column with the chosen part. My issue is that when the expression being updated is not linked to anything (a dummy expression) the code works fine. However if I use interpart linking so that the indiviual component references the primary assembly I recieve the error: NXOpen.NXException: Update undo happened
The only thing that has changed is that the expression is now being referenced by another part so I don't understand why this is happening.