60001339 Possibility to prevent xrefs from being loaded during open operations

Article 60001339
Type Wish
Product Engine
Date Added 3/1/2011 12:00:00 AM
Fixed (3/1/2011 12:00:00 AM)
Submitted by Steve Howarth

Summary

Possibility to prevent xrefs from being loaded during open operations

Solution

In version n6020 a new property DisableExternalReferencesLoad of vdDocument was added

example:

//All ExternalReferences are not loaded.

doc.DisableExternalReferencesLoad = true;

doc.Open(@"drawingWithXrefs");

 

 

//LoadAllExternalReferences

doc.DisableExternalReferencesLoad = false;

doc.ReloadExternalReferences();

doc.Redraw(true);

Send comments on this topic.