Community
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"jpkycek" wrote in messageHi
href="news:6129349@discussion.autodesk.com">news:6129349@discussion.autodesk.com...
Peter, I understand that. But what I am getting at is, once the drawing is
opened with ObjectDBX, then it should be possible to access the open drawing
using: Set acad = GetObject(, "AutoCAD.Application.17") (for civil3d 2008).
This works, and I can, obtain, the acad.aplication from the drawing opened
with objectdbx this way, but so far not the correct instance of the drawing
that is being examined by objectdbx. Once I find out how to access the correct
dwg instance being examined by objectdbx, then it should be possible to use:
Set MyApp = acad.GetInterfaceObject("AeccXUiLand.AeccApplication.5.0") (for
civil3d 2008) as normal, to load the civil3d land object: to list civil3d
styles, alignments etc from the drawing. I have a vb app that I wrote a couple
years back that uses objectdbx to list layers, blocks, and linetypes from
drawings, and I was hoping to expand the app to list civil3d data too. Any
help appreciated, thanks, Joe Kycek
Can't find what you're looking for? Ask the community or share your knowledge.