.NET

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

How to store ObjectId please!

143 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,555
Registered: ‎10-08-2008
Message 2 of 4 (138 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
Posts: 15
Registered: ‎05-31-2012
Message 3 of 4 (127 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,555
Registered: ‎10-08-2008
Message 4 of 4 (118 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
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

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

Ask the Community