Prod.: Engine, ver.: 6018, ID: 60001232, Wish : Drawings that have xrefs that are not shown (unloaded)

Wish : Drawings that have xrefs that are not shown (unloaded)

Article60001232
TypeWish
ProductEngine
Version6018
Date Added9/24/2010
FixedYes [1/23/2011]
Submitted bySheng see sin
Keywords

Subject

Drawings that have xrefs that are not shown (unloaded)

Summary

There are some drawings in other cad software that have external reference drawings that are not shown (unloaded). Is it possible to add this in VDF ?

Solution


In version 6020 a new property IsXrefUnloaded of vdBlock was added.


Default value for IsXrefUnloaded  is false.


Set it to true in order to unload the ExternalReference document and make it invisible.


Also a new CommandOption argument "U" was added in CommandAction.CmdXref method


example :


  CommandAction.CmdXref("U","Xref1.dwg",null,null,null,0);  //Unload the previous attatched "Xref1.dwg" and make it invisible.


call


 CommandAction.CmdXref("R","Xref1.dwg",null,null,null,0); // to reload the drawing and make it visible


Also a new button "Unload" was added in frmXrefManager dialog resources of vdFormsRes project