Message 1 of 4
dxf export

Not applicable
12-08-2006
07:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I need some help exporting to a dxf using VBA. My current solution exports
the entire drawing (all tabs: modelspace and paperspace) using the code:
Set sSet = Application.ActiveDocument.SelectionSets.Add("NEWSS")
sSet.Select acSelectionSetAll
ThisDrawing.Export strDxfName, "dxf", sSet
What I need is the ability to select a specific tab and export only that tab
to the modelspace of a new dxf. For example, I have a dwg with three tabs:
one model and two paperspaces. I need to take one of the paperspaces (the
whole thing) and create a dxf from it using only the modelspace within the
dxf.
Thanks in advance for any help!!
Bruce
the entire drawing (all tabs: modelspace and paperspace) using the code:
Set sSet = Application.ActiveDocument.SelectionSets.Add("NEWSS")
sSet.Select acSelectionSetAll
ThisDrawing.Export strDxfName, "dxf", sSet
What I need is the ability to select a specific tab and export only that tab
to the modelspace of a new dxf. For example, I have a dwg with three tabs:
one model and two paperspaces. I need to take one of the paperspaces (the
whole thing) and create a dxf from it using only the modelspace within the
dxf.
Thanks in advance for any help!!
Bruce