Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
WCrihfield
in reply to: gaetan.lucas

Hi @gaetan.lucas.  I haven't really used Simplified/Shrinkwrap Assemblies as ModelStates before, but after reading down through your code, and looking at the online documentation for the associated API objects/methods/properties involved, I am making a relatively educated guess that in order for you to 'update' that ShrinkwrapComopnent, you may need to access its ShrinkwrapComponent.Definition (a ShrinkwrapDefinition), then try changing one or more of its Propertys, and maybe change them back if no changes are were actually needed, then see if that causes the 'update' to happen.  If some of those properties actually need to change, do so.  That is similar to 'editing' it through the dialog, but by code.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)