• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    Contributor
    Posts: 15
    Registered: ‎05-31-2012

    How to store ObjectId please!

    113 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.

    Please use plain text.
    *Expert Elite*
    Hallex
    Posts: 1,338
    Registered: ‎10-08-2008

    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
    Please use plain text.
    Contributor
    Posts: 15
    Registered: ‎05-31-2012

    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..

    Please use plain text.
    *Expert Elite*
    Hallex
    Posts: 1,338
    Registered: ‎10-08-2008

    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
    Please use plain text.