Open dwg in Core console without loading any xref?

Open dwg in Core console without loading any xref?

jakob.holmquistGRCUL
Enthusiast Enthusiast
475 Views
2 Replies
Message 1 of 3

Open dwg in Core console without loading any xref?

jakob.holmquistGRCUL
Enthusiast
Enthusiast

Hi! Im trying to find a way to open a dwg via a script with core console without having to load all xrefs, regardless if they are set to Loaded or Unloaded. Is this possible? I've read about Partial open which I guess would work in normal cad.exe, but I can't manage to get it to work in core console especially since I am opening the file via a script file, like so:

 

%accoreexe% /i %file% /s %script%

 

where the variables accoreexe, file and script of course are defined. Does anyone have any idea if and how it's possible?

0 Likes
476 Views
2 Replies
Replies (2)
Message 2 of 3

TheCADnoob
Mentor
Mentor

It looks like the partial commands are available (though not necessarily functional) in the core console per Kean Walmsley's list. This, however, would require not calling the file via the cmd. You would have to do your file operations in your script. So if you are iterating through files you would have to add a section to amend your script file with the appropriate file name. How are you calling core console?

 

Something I might try if the above is out of reach would be moving the file to a location that breaks the xref links prior to opening the file, but the partial load approach seems like a much more elegant approach. 

CADnoob

EESignature

0 Likes