To Reference the Transmittal Object Library (ActiveX/ATO)

Managed .NET (VB.NET or C#)

The following steps explain how to reference the Transmittal Object library in a project created with Microsoft Visual Studio:

  1. In Microsoft Visual Studio, create a new project or open an existing project.
  2. On the menu bar, click Project menu Add Reference.
  3. In the Reference Manager dialog box, click Browse.
  4. In the Select the Files to Reference dialog box, browse to one of the following locations:
    • %ProgramFiles%\Common Files\Autodesk Shared\
    • <drive>:\ObjectARX <release>\inc-win32\ for 32-Bit or <drive>:\ObjectARX <release>\inc-x64\ for 64-Bit
  5. Select the AcETransmit<version>.tlb file and click Add.
    Note: Substitute <version> for the version number of the API used by the AutoCAD-based program being targeted.
  6. In the Reference Manager dialog box, click OK to add the library reference to the project.
  7. In the Solution Explorer, expand the current project.
  8. Do one of the following based on the project type loaded into Microsoft Visual Studio:
    • VB.NET - Right-click the project node and choose Properties. Click the Properties tab and select transmittal <version>.0 Type Library.
    • C# - Expand the References node under the project node and select TRANSMITTALLib.
    • Note: Substitute <version> for the version number of the API used by the AutoCAD-based program being targeted.
  9. In the Properties Window, set the following property values:
    • Embed Interop Types = True
    • Isolated = False
  10. On the menu bar, click File menu Save All.

VBA

The following steps explain how to reference the Transmittal Object library in a project created with Microsoft Visual Basic for Applications:

  1. In the AutoCAD-based program, start the Microsoft Visual Basic for Applications editor.

    On the ribbon, click Manage tab Applications panel Visual Basic Editor. Find

  2. In the Microsoft Visual Basic for Applications editor, create a new project or open an existing project.
  3. On the menu bar, click Tools menu References.
  4. In the References dialog box, click Browse.
  5. In the Add Reference dialog box, browse to one of the following locations:
    • %ProgramFiles%\Common Files\Autodesk Shared\
    • <drive>:\ObjectARX <release>\inc-win32\ for 32-Bit or <drive>:\ObjectARX <release>\inc-x64\ for 64-Bit
  6. Select the AcETransmit<version>.tlb file and click Open.
    Note: Substitute <version> for the version number of the API used by the AutoCAD-based program being targeted.
  7. In the References dialog box, click OK to add the library reference to the project.
  8. On the menu bar, click File menu Save.