OK... I have looked hard for this but I can't find a way to do it... is it possible or am I flogging a dead horse?
I want to programmatically copy an object (for example a polyline) from modelspace in AutoCAD and insert/paste it into another program without having the background which is brought with it (we use black across the board here).
I have currently got a script which gets the bounding box of each object on the drawing and programmatically does a sendcommand("_COPYCLIP") - far from ideal for two reasons:
1) It takes the background with it
2) It does not copy fast enough to be pasted into the target application - I end up with lots of clones of the same object.
So... is this possible? I'm not looking for code, just a nudge in the right direction