.NET

Reply
Contributor
15 Posts
0 Kudos
Registered: ‎05-31-2012
Post 1 of 4

How to store ObjectId please!

175 Views, 3 Replies
05-31-2012 12:27 AM

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.

*Expert Elite*
1,569 Posts
171 Kudos
Registered: ‎10-08-2008
Post 2 of 4

Re: How to store ObjectId please!

05-31-2012 12:42 AM in reply to: Nk_long

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
Contributor
15 Posts
0 Kudos
Registered: ‎05-31-2012
Post 3 of 4

Re: How to store ObjectId please!

05-31-2012 12:49 AM in reply to: Hallex

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

*Expert Elite*
1,569 Posts
171 Kudos
Registered: ‎10-08-2008
Post 4 of 4

Re: How to store ObjectId please!

05-31-2012 01:16 AM in reply to: Nk_long

Glad I could help

Cheers :smileyhappy:

 

~'J'~

_____________________________________
C6309D9E0751D165D0934D0621DFF27919
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!