60001232 Drawings that have xrefs that are not shown (unloaded)

Article 60001232
Type Wish
Product Engine
Version 6018
Date Added 9/24/2010 12:00:00 AM
Fixed (1/23/2011 12:00:00 AM)
Submitted by Sheng see sin

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

 

Send comments on this topic.