store custom binary data inside a drawing file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I need to store binary data that contain information about the document iside the drawing
For Examble i have data stored into the MyDat.dat binary file
If my information was a simple integer value i sould store it to document using userI1..5 System variables (which autocad stores with the drawing)
The system variables someone can keep stored in the drawing are 5 integers (userI1..5) and 5 reals (userR1..5)
There are aditionally 5 strings (userS1..5) who are lost by saving and closing the document.
So, i have no the ability sto store long binary information inside the drawing.
If it's bossible
a) To store the contents (the stream) of MyDat.dat file to drawing (dwg file) so that i don't need to keep a separate file.
b) to Retreive the data from drawing and store them to a temporay MyDat.dat file , and handle them.
I don't see something that helps me looking at the object model 's ActiveDocument object properties and methods.
Can anyone help me in this?
Gery