Layout PlotType - AcView vs acView

Layout PlotType - AcView vs acView

Anonymous
Not applicable
545 Views
2 Replies
Message 1 of 3

Layout PlotType - AcView vs acView

Anonymous
Not applicable
I'm working on a VB app that ties an Access database and and AutoCAD plotting session together. I want to be able to plot named views in the drawing if they exist. However, when I set my PlotType = acView and then hit return, the word "acView" changes to "AcView" (note the case difference). Then when I attempt to run, I get a compile error that says "Expected variable of procedure, not module." From what I can tell, there is a duplication between an Access module name and an AutoDesk enum variable name. Does anyone know if that is right? Anyone else had this problem? Anyone have a workaround?
Thanks,
Guy
0 Likes
546 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
My best guess is that you have a variable defined
as "AcView".

 

Cheers,

Thilak

 

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
I'm
working on a VB app that ties an Access database and and AutoCAD plotting
session together. I want to be able to plot named views in the drawing if they
exist. However, when I set my PlotType = acView and then hit return, the word
"acView" changes to "AcView" (note the case difference). Then when I attempt
to run, I get a compile error that says "Expected variable of procedure, not
module." From what I can tell, there is a duplication between an Access module
name and an AutoDesk enum variable name. Does anyone know if that is right?
Anyone else had this problem? Anyone have a workaround?
Thanks,

Guy
0 Likes
Message 3 of 3

Anonymous
Not applicable
A complete text search of my code turns up no "AcView" variable. I'm pretty sure this has something to do with a conflict between names in Access and AutoCAD.

Anyone else ever run into this?
Guy
0 Likes