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

This is how it has worked for me in the past, where oPos is a Matrix and SelectRow is an Integer:

Dim NewoOcc As ComponentOccurrence = ThisDoc.Document.ComponentDefinition.Occurrences.AddiAssemblyMember(FilePath, oPos, SelectRow)

I have had luck changing rows of an existing iAssembly with shorthand, where Row is an Integer:

iPart.ChangeRow(oOcc.Name, Row)