problem in targeted database export corridor solids

problem in targeted database export corridor solids

Mohamed_Almaz
Contributor Contributor
210 Views
0 Replies
Message 1 of 1

problem in targeted database export corridor solids

Mohamed_Almaz
Contributor
Contributor

i have a problem in exporting solids to (another drawing) although it works in existing drawing 

when i run the code it makes a new empty drawing but dont insert the solids there 

 

(the code)

Database dbb = new Database(true, true);

string dwgname = @"c:\temp\DatabaseWithDefObjAndDoc.dwg";

dbb.SaveAs(dwgname, DwgVersion.Current);

.

.//exportParams settings

.

foreach (corridor x in corridorsavailable)
{

if (Addtoanewdrawing.Checked)
{
x.ExportSolids(exportParams, dbb);
}
}

0 Likes
211 Views
0 Replies
Replies (0)