Autodesk.inventor.interop.dll Jun 2026
At the top of your code file, include the namespace directive to make the Inventor objects accessible without typing long prefixes: using Inventor; Use code with caution. C# Code Example: Connecting to Inventor
' Example: Creating a text box on a sketch Dim oSketch As PlanarSketch = oCompDef.Sketches.Add(oWorkPlane) Dim oPoint As Point2d = oTransGeom.CreatePoint2d(0, 0) Dim oTextBox As TextBox = oSketch.TextBoxes.AddFormattedText("Your Text Here", oPoint) Use code with caution. Copied to clipboard B. Select the Profile autodesk.inventor.interop.dll