BlockList's OnDragnDropToAutoCAD ???

Started by khann, May 28, 2009, 05:12:16 AM

Previous topic - Next topic

khann

Hi, everyone.
Now I'm trying to make an ODCL form of preview blocks and Dragndrop one block to AutoCAD.
But the OnDragnDropToAutoCAD of BlockList returns nothing.
It didn't stop at the break point of OnDragnDropToAutoCAD routine and did not show any alert message.
Even the MasterDemo's DragNDrop test is the same.

Would somebody show me the way?
Thanks.

Fred Tomke

I could reproduce that it did no work for me, too.

Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

owenwengerd

It looks like I commented out some code while testing, and forgot to uncomment it when I was finished. This should be fixed now for Beta 3.
Owen Wengerd (Outside The Box) / ManuSoft

khann

Thanks for your reply.
I can wait until it fixed.
In addition when I click one block item in the BlockList and dragndrop to AutoCAD, just the blockname appears with type of MText at the upper left corner of the AutoCAD screen.
Is this by design? or some kind of bugs?

And Fred already wrote in some other reply, the dragndroped block gone away from the BlockList.
So I reloaded the block file everytime after dragndrop event to prevent this.
How can I make this better?
Help me through, please.
Thanks.

owenwengerd

Currently the built-in handling just uses the default behavior defined for all controls. This default handling should be customized for the block list to default to "copy" instead of "move", and to insert the block at the drop point. Please add this as a feature request.

In the meantime, you can override the built-in drag and drop functionality by handling OnDragnDropToAutoCAD and performing your custom operation there.
Owen Wengerd (Outside The Box) / ManuSoft

khann

Thanks owen.
So, what is feature request?
Is that a site of here? where is it?

owenwengerd

You can click on the "Wish List" link from the OpenDCl home page. Here is the URL:
https://sourceforge.net/tracker/?group_id=187950&atid=923366
Owen Wengerd (Outside The Box) / ManuSoft

khann


owenwengerd

It looks like you added bug reports instead of feature requests.
Owen Wengerd (Outside The Box) / ManuSoft

khann

Oh, sorry!.
I wrote about that, but I'm not sure it was at bugreports or feature requests.