Author Topic: How to convert autocad object to binary string?  (Read 2719 times)

0 Members and 1 Guest are viewing this topic.

gswang

  • Newt
  • Posts: 117
How to convert autocad object to binary string?
« on: August 02, 2015, 08:04:52 PM »
I want to convert autocad object to binary string, how can i do? thanks a lot!

nobody

  • Swamp Rat
  • Posts: 861
  • .net stuff
Re: How to convert autocad object to binary string?
« Reply #1 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

BlackBox

  • King Gator
  • Posts: 3770
Re: How to convert autocad object to binary string?
« Reply #2 on: August 03, 2015, 04:54:47 PM »
Wonder if OP means serializing to / deserializing from the Database?
"How we think determines what we do, and what we do determines what we get."

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: How to convert autocad object to binary string?
« Reply #3 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.
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

JohnK

  • Administrator
  • Seagull
  • Posts: 10604
Re: How to convert autocad object to binary string?
« Reply #4 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
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org