TheSwamp

Code Red => .NET => Topic started by: gswang on August 02, 2015, 08:04:52 PM

Title: How to convert autocad object to binary string?
Post by: gswang on August 02, 2015, 08:04:52 PM
I want to convert autocad object to binary string, how can i do? thanks a lot!
Title: Re: How to convert autocad object to binary string?
Post by: nobody on August 03, 2015, 05:45:29 AM
Hmmm...pretty general statement but once you get the object, assuming you just want to convert the name, you could do it like this:

http://stackoverflow.com/questions/5664345/string-to-binary-in-c-sharp
Title: Re: How to convert autocad object to binary string?
Post by: BlackBox on August 03, 2015, 04:54:47 PM
Wonder if OP means serializing to / deserializing from the Database?
Title: Re: How to convert autocad object to binary string?
Post by: Kerry on August 03, 2015, 08:11:48 PM

Quote from: kdub
My argument has always been that we need to learn how to ask questions as much as we need to learn to solve problems.
Title: Re: How to convert autocad object to binary string?
Post by: JohnK on August 04, 2015, 11:30:14 AM
Very much at the top of my list of recommended reads.
http://catb.org/~esr/faqs/smart-questions.html

EDIT:
Still a link in theSwamp's general guidelines too.
https://www.theswamp.org/index.php?topic=9202.0