Copy Objects AxDbDocument

Copy Objects AxDbDocument

Anonymous
Not applicable
356 Views
1 Reply
Message 1 of 2

Copy Objects AxDbDocument

Anonymous
Not applicable


Friends need help ...

How do I copy a block of a AxDbDocument file over to ThisDrawing?



Dim dbxdoc As New AxDbDocument

dbxdoc.Open "C:\Doc61.dwg"

Set entry = dbxdoc.HandleToObject("CA1")



how can I end this code

thanks.

0 Likes
357 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

Have you read the docs on .CopyObjects as I
suggested last week?

what have you tried, what errors are you
getting?

look under Help|Additional Resources|Developer
Documentation , if you're having trouble finding it...

 

Looks like you should also read this groups
archives on google re: dbx

Dim dbxdoc As New AxDbDocument <--- not this way

 

Dim dbxdoc As AxDbDocument

Set dbxDoc = oacadApp.GetInterfaceObject(dbxversion)  <--- this
way


hth

size=2>mark


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">


Friends need help ...

How do I copy a block of a AxDbDocument
file over to ThisDrawing?




Dim dbxdoc As New AxDbDocument

dbxdoc.Open
"C:\Doc61.dwg"

Set entry = dbxdoc.HandleToObject("CA1")




how can I end this code


thanks.

0 Likes