Create dxf from selected objects

Create dxf from selected objects

Anonymous
Not applicable
458 Views
2 Replies
Message 1 of 3

Create dxf from selected objects

Anonymous
Not applicable
is there a way to do this with code?
using either a selection set/ a collection / or an array of entities, export
them to a dxf file
I'm going to try calling document.Wblock method but don't see an argument to
specify drawing type so don't know how that will work
meanwhile if anyone has an answer I'd be much abliged
thanks
mark
0 Likes
459 Views
2 Replies
Replies (2)
Message 2 of 3

norman.yuan
Mentor
Mentor
Of couse WBlock will only create a *.dwg file. But you simply need to go one stepo further: Once the Wblock is done, open the DWG file and save it as a DXF file.

Norman Yuan

Drive CAD With Code

EESignature

0 Likes
Message 3 of 3

Anonymous
Not applicable
right, it's been a while since i looked at the available drawing type
enums...hope there's one for dxf2007 then i could program that step
too....will look there next
thanks for the confirmation
mark


wrote in message news:6368134@discussion.autodesk.com...
Of couse WBlock will only create a *.dwg file. But you simply need to go one
stepo further: Once the Wblock is done, open the DWG file and save it as a
DXF file.
0 Likes