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

change 

Dim refDocUserParams As UserParameters = refDoc.ComponentDefinition.Parameters.UserParameters

into

 

Dim refDocUserParams As UserParameters = asmdoc.ComponentDefinition.Parameters.UserParameters

 and move it above

For Each refDoc As Inventor.Document In asmDoc.AllReferencedDocuments