Jump to content

Accessing Object Data in another file


twk

Recommended Posts

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). 

Link to comment

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.

 

image.thumb.png.92eefa395e3830cc3bd592748ca46d74.png

Edited by twk
Link to comment

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.

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...