How to store ObjectId please!

How to store ObjectId please!

Anonymous
Not applicable
974 Views
3 Replies
Message 1 of 4

How to store ObjectId please!

Anonymous
Not applicable

I can store some ObjectId from my drawing to text file. After that how we can get back ObjectId from string read from that text file. Or have a diferrent way to store the ObjectID. Somebody please help me, tks alot.

0 Likes
975 Views
3 Replies
Replies (3)
Message 2 of 4

Hallex
Advisor
Advisor

Try to save Handle instead,

 

string hdl= obj.Handle.ToString();

 

you can get object from text file using this method:

 

http://through-the-interface.typepad.com/through_the_interface/2007/02/getting_access_.html

 

~'J'~

_____________________________________
C6309D9E0751D165D0934D0621DFF27919
0 Likes
Message 3 of 4

Anonymous
Not applicable

Ok, I can do it already. Thank so much..

0 Likes
Message 4 of 4

Hallex
Advisor
Advisor

Glad I could help

Cheers 🙂

 

~'J'~

_____________________________________
C6309D9E0751D165D0934D0621DFF27919
0 Likes