Message 1 of 2
How to drag and drop block in Autocad by C#.

Not applicable
12-03-2009
06:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
I want to drag and drop a block which get from dwg. But I don't know how to create drag and drop "DataObject", please see the following code.
new System.Windows.DataObject(DataFormats.FileDrop, new string[] { fullpath }); It is OK for drag and drop a dwg file, but it is not OK for drag and drop a block. Could you give me a sample about this.
Thanks,
Hongdan
I want to drag and drop a block which get from dwg. But I don't know how to create drag and drop "DataObject", please see the following code.
new System.Windows.DataObject(DataFormats.FileDrop, new string[] { fullpath }); It is OK for drag and drop a dwg file, but it is not OK for drag and drop a block. Could you give me a sample about this.
Thanks,
Hongdan