.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AcadLayout cannot use in vb.net?

1 REPLY 1
Reply
Message 1 of 2
Anonymous
399 Views, 1 Reply

AcadLayout cannot use in vb.net?

Dim Layout As AcadLayout

 

i can use it in vba but cannot use in vb.net

 

Type "AcadLayout" is not definded

 

i have import those function

do i miss some import on top ?

 

Imports Autodesk.AutoCAD.Runtime
Imports Autodesk.AutoCAD.ApplicationServices
Imports Autodesk.AutoCAD.DatabaseServices
Imports Autodesk.AutoCAD.PlottingServices
Imports Autodesk.AutoCAD.Interop
Imports Autodesk.AutoCAD.Interop.Common
Imports Autodesk.AutoCAD.Geometry
Imports Autodesk.AutoCAD.Colors
Imports Autodesk.AutoCAD.EditorInput

1 REPLY 1
Message 2 of 2
Balaji_Ram
in reply to: Anonymous

Hi 

 

AcadLayout should be resolved using "Autodesk.AutoCAD.Interop.Common".

 

Can you attach a sample project for me to reproduce the error ?

 

 



Balaji
Developer Technical Services
Autodesk Developer Network

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost