twk 125 Posted January 18 Greetings and happy new year all, I was wondering if there was anyway to access plugin data from a file other than the active one? Wanting to read in data from a plugin object that resides in another file. Cheers, Tui Share this post Link to post
Nicolas Goutte 19 Posted January 18 VW is very oriented on the current opened file. From what I know, you can only import and export from/to another document. Share this post Link to post
JBenghiat 115 Posted January 21 You can extract data from a resource in another file, but not an object. If you create a reference to the other file and a referenced viewport, you should be able to read the data via the viewport. The only other option would be to have the file write data to an external data source (xml, text, sql, etc). Share this post Link to post
twk 125 Posted January 21 (edited) Wondering how 2019 does it with titleblock data being able to read TB info from another file? Could not find any related functions for opening one file in another file in the DevWiki or the SDK files. Edited January 21 by twk Share this post Link to post
JBenghiat 115 Posted January 21 I don't know 100% the process, but a lot of the title block data gets written to a hidden record format, and I imagine this is what gets read. (Essentially writing to the record format's defaults). You can browse the file's resource list, import the record format, read the data, then delete. Share this post Link to post