Message 1 of 2
Copying selections or blocks

Not applicable
05-12-2009
01:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm working on a delphi application that works with autocad (tested with 2008 and 2009). Right now I need a command to either:
- Copy some selected items from one document and paste to another existing document, or
- Export blocks from one and import them to another existing document.
I've already been able to select all the items or blocks that I need, but I'm unable to find any command to export those selections to a new file, something like:
{code}selectedStuff.CopyToFile('filename', insertPoint1, insertPoint2, scale);{code}
or
{code}block.ExportTo('filename', insertPoint1, insertPoint2, scale);{code}
Right now I've gotten most of the info about autocad commands from VB programs, so any help on VB will be appreciated too.
- Copy some selected items from one document and paste to another existing document, or
- Export blocks from one and import them to another existing document.
I've already been able to select all the items or blocks that I need, but I'm unable to find any command to export those selections to a new file, something like:
{code}selectedStuff.CopyToFile('filename', insertPoint1, insertPoint2, scale);{code}
or
{code}block.ExportTo('filename', insertPoint1, insertPoint2, scale);{code}
Right now I've gotten most of the info about autocad commands from VB programs, so any help on VB will be appreciated too.