.NET

Reply
Contributor
Nk_long
Posts: 15
Registered: ‎05-31-2012
Message 1 of 4 (154 Views)

How to store ObjectId please!

154 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*
Hallex
Posts: 1,569
Registered: ‎10-08-2008
Message 2 of 4 (149 Views)

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
Nk_long
Posts: 15
Registered: ‎05-31-2012
Message 3 of 4 (138 Views)

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*
Hallex
Posts: 1,569
Registered: ‎10-08-2008
Message 4 of 4 (129 Views)

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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community