Support FIles 2008

Support FIles 2008

Anonymous
Not applicable
451 Views
6 Replies
Message 1 of 7

Support FIles 2008

Anonymous
Not applicable
Maybe I am blind, but I can't seem to find
the Support FIles in the Preferenece.Files
It used to be there in 2006!

Has it moved, or is there another way to get the support file string in 2008.
Thanks in advance.
0 Likes
452 Views
6 Replies
Replies (6)
Message 2 of 7

Anonymous
Not applicable
I presume you are talking about the ActiveX API. In which case I am still using it in VBA with 2008.

Regards - Nathan
0 Likes
Message 3 of 7

Anonymous
Not applicable
This is what I am trying to do:
Autodesk.AutoCAD.Interop.AcadApplication oApp = (Autodesk.AutoCAD.Interop.AcadApplication)Autodesk.AutoCAD.ApplicationServices.Application.AcadApplication;

AcadPreferencesFiles files = oApp.Preferences.Files
string supportFiles = files. <--- SupportPath is not a option!!!!

What am I doing wrong?
0 Likes
Message 4 of 7

Anonymous
Not applicable
It shows up for me with VB.NET.

Dim acadApp As Autodesk.AutoCAD.Interop.AcadApplication = Application.AcadApplication
Dim files As Autodesk.AutoCAD.Interop.AcadPreferencesFiles = acadApp.Preferences.Files
Dim strSPath As String = files.SupportPath
0 Likes
Message 5 of 7

Anonymous
Not applicable
I must be doing something wrong.
I get everything but supportpath.

All I need to do is add to my references "Autodesk.AutoCAD.Interop"
is that not correct? (of course besides "acdbmgd" and "acmgd")

It strange because in the class explorer I cannot find SupportPath anywhere!
0 Likes
Message 6 of 7

Anonymous
Not applicable
The only thing I can suggest is that I am using MAP where it may have been fixed so maybe someone else can check. I haven't actually tried the code but I can see it in the object browser and it does come up with intellisense.

Regards - Nathan
0 Likes
Message 7 of 7

Anonymous
Not applicable
I have referenced from AutoCAD MAP 2007 the following
acdbmgd
acmgd
Autodesk.AutoCAD.Interop

Now in the Class Browser this is what I see
(see attached image)

I have now tried this on 2 diffrent computers. I obviously dont understand what I am doing wrong.

Thanks for your help.
0 Likes