I am Programming with Visual Studio 2010.(VB.NET)
I am facing a problem that everytime I write "Dim Line1 as AcadLine" it shows error, whereas if I write "Dim Line1 As Autocad.Acadline" the code works fine.
Pls suggest which reference am I missing ? (I would like to write "Dim Line1 as AcadLine".)
then place on top of your code-file this statement
...plus do some readme in helps about Framework and Namespaces
- alfred -
then try this statement just to make sure you have all necessary references inluded:
Dim Line1 as Autodesk.AutoCAD.Interop.Common.AcadLine
Does that also result in an error? If so you are missing the reference to the COM-objects:
- alfred -
Can you tell me what the 'Assembly' or COM is that I need to include in my VS2012 project?
I'm needing to open/save/close multiply dwg files programmatically, in order to update them to our latest version, as well as run a custom LISP routine upon each dwg to extract data from the drawing...
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!