Skip to content

TWiesendanger/ExtrabbitCode.Inventor.Sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autodesk Inventor SDK (.NET)

NuGet License

img

This repository contains a distributable .NET SDK package for Autodesk Inventor.
It provides the required native .NET assemblies (Inventor and iLogic) for developing add-ins, commands, and automation tools targeting Autodesk Inventor 2025 and newer.


Overview

The SDK bundles the official Inventor interop DLLs and iLogic assemblies into a NuGet package.
It allows you to develop Inventor-based add-ins or automation tools without having Inventor installed locally.

Supported versions:

  • Inventor 2025
  • Inventor 2026
  • Inventor 2027

How It Works

When you reference this package in your project:

  • Building automatically references the correct assemblies from lib/native/<InventorVersion>/.
  • You can control which assemblies are copied locally using project properties.
Property Default Description
InventorVersion 2027 Specifies which Inventor SDK version to use.
CopyInventorFiles false Copies Inventor base DLLs to the output directory.
CopyILogicFiles false Copies iLogic DLLs to the output directory.

Example usage in a project file:

<ItemGroup>
  <PackageReference Include="Autodesk.Inventor.Sdk" Version="2.0.0" />
</ItemGroup>

<PropertyGroup>
  <InventorVersion>2027</InventorVersion>
  <CopyInventorFiles>true</CopyInventorFiles>
  <CopyILogicFiles>false</CopyILogicFiles>
</PropertyGroup>

References are resolved automatically by the build/Autodesk.Inventor.Sdk.props file included in the package.


Packaging

To create a NuGet package:

dotnet pack src/Autodesk.Inventor.Sdk.Nuget.csproj -c Release

The package will be generated in the dist directory and can be pushed to NuGet or an internal feed:

dotnet nuget push dist/Autodesk.Inventor.Sdk.*.nupkg --source "<YourFeed>"

Folder Structure

graph TD
    A[lib]
    A --> B[native]
    B --> C2025[2025]
    B --> C2026[2026]
    B --> C2027[2027]

    C2025 --> D1_Inventor[Inventor]
    C2025 --> D1_iLogic[iLogic]

    C2026 --> D2_Inventor[Inventor]
    C2026 --> D2_iLogic[iLogic]

    C2027 --> D3_Inventor[Inventor]
    C2027 --> D3_iLogic[iLogic]

    E[build]
    E --> F1[Autodesk.Inventor.Sdk.props]
    E --> F2[Autodesk.Inventor.Sdk.targets]
Loading

Architecture Notes

Inventor and its Interop assemblies are 64-bit only.
Ensure your project builds for x64 to avoid architecture warnings:

<PropertyGroup>
  <PlatformTarget>x64</PlatformTarget>
  <Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>

License

© 2025 Autodesk, Inc.
Redistributed for development convenience only.
All Inventor DLLs remain the property of Autodesk.

About

Source for nuget package that provides Autodesk Inventor and iLogic Dll's

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors