1 Answers
A:
If you're comfortable with .NET, you can create an Inventor Add-In that listens for the OnOpenDocument event: Private Sub m_ApplicationEvents_OnOpenDocument(ByVal DocumentObject As Inventor._Document, ByVal FullDocumentName As String, ByVal BeforeOrAfter As EventTimingEnum, ByVal Context As NameValueMap, ByVal HandlingCode As HandlingCodeEnum) Handles m_ApplicationEvents.OnOpenDocument
If DocumentObject.DocumentType = kDrawingDocumentObject Then.
Run your macro logic here End If
End Sub
Autodesk Inventor
AutodeskHelp the community
Be the First to Answer these questions
Disclaimer
Techjockey’s software industry experts offer advice for educational and informational purposes only. A category or product query or issue posted, created, or compiled by Techjockey is not meant to replace your independent judgment.
20,000+ Software Listed
Best
Price Guaranteed
Free Expert
Consultation
2M+
Happy Customers