If items like layers are referenced by the entities you're
cloning, they should be included unless they are named
objects that already exist in the destination database.
You can manually add items to the clone map as well,
from the DeepClone events.
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com
wrote in message news:5564628@discussion.autodesk.com...
Good afternoon,
I have a portion of code that takes a collection of entities and copies them from the active document into a new drawing.
This routine is batched (multiple drawings, multiple collections), so speed is an issue.
Anyway, calling the WBlock() method of the Database object works well enough, but the export ends up missing some key data. For example, layers, and system variables like viewres and pellipse.
Any suggestions?