Message 1 of 4
GetInterfaceObject Version Problem
Not applicable
01-11-2005
01:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all
I am using the objectdbx class to access the drawing data.
I am using the syntax below which works fine in acad2000.
Set dxbdoc =AcadApplication.GetInterfaceObject"ObjectDBX.AxDbDocument")
But when i am using the same in Acad2004 it gives me an arror error in loading application.So i have to use the same in a modified form like the one given below
Set dxbdoc =AcadApplication.GetInterfaceObject"ObjectDBX.AxDbDocument.16")
which doesnt work in 2000.
Can any one help me in finding a solution which will work in both the versions.Whether i have to check the version and load accordingly.
Thanks in advance
Regards
Sri
I am using the objectdbx class to access the drawing data.
I am using the syntax below which works fine in acad2000.
Set dxbdoc =AcadApplication.GetInterfaceObject"ObjectDBX.AxDbDocument")
But when i am using the same in Acad2004 it gives me an arror error in loading application.So i have to use the same in a modified form like the one given below
Set dxbdoc =AcadApplication.GetInterfaceObject"ObjectDBX.AxDbDocument.16")
which doesnt work in 2000.
Can any one help me in finding a solution which will work in both the versions.Whether i have to check the version and load accordingly.
Thanks in advance
Regards
Sri