Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

I think you are looking for this code. I briefly tested it and it seems to work.

 

 

ThisDoc.Document.ReferencedDocuments(1).DocumentType

 

12290 is a Part

12291 is an Assembly