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

You've got one error which can be fixed like this:

Change this:

Dim trans As Transaction = ThisApplication.TransactionManager.StartTransaction(oPartDocument, "Hole Alignment")

To this:

Dim trans As Transaction = ThisApplication.TransactionManager.StartTransaction(oDoc, "Hole Alignment")

:slightly_smiling_face: