Article | 60001478 |
Type | HowTo |
Product | Engine |
Version | 6 |
Date Added | 8/26/2011 |
Submitted by | Christian Holbrook |
Keywords |
VectorDraw.Professional.vdObjects.vdDocument doc = vdFramedControl1.BaseControl.ActiveDocument; doc.New(); doc.Open(@"C:\test\1.vdml"); // this drawing has a file as XREF named “VectorDraw-2000.VDML” VectorDraw.Professional.Dialogs.LayersDialog.Show(vdFramedControl1.BaseControl.ActiveDocument); // layers dialog of the "master document" VectorDraw.Professional.Dialogs.LayersDialog.Show(doc.Blocks.FindName("VectorDraw-2000").ExternalReference);// layers dialog of the XRef file VectorDraw-2000.VDML