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

Hi @s.mich, you can check if a part is an iPart by checking the "IsiPartFactory" property of its ComponentDefinition:

 

If ThisDoc.Document.ComponentDefinition.IsiPartFactory Then
	' Do stuff...
Else
	' Do other stuff...
End If