Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
When using VB.Net, it allows me to use Dim assDoc As AssemblyDocument = invApp.ActiveDocument
but in C# using AssemblyDocument assDoc = invApp.ActiveDocument throws an error.
Does anybody know how I can get around this?
Wayne Helley
Inventor 2013 Certified Professional
Autodesk Inventor Professional 2023
Visual Studio 2022
Windows 10 Pro, 64-bit
Inventor 2013 Certified Professional
Autodesk Inventor Professional 2023
Visual Studio 2022
Windows 10 Pro, 64-bit
Solved! Go to Solution.