![]() |
【转帖】how to realize the function of adreadproxydatastring in c=
how to realize the function of "adreadproxydatastring" in c+
how to realize the function of "adreadproxydatastring" in c++? adreadproxydatastring summary short adreadproxydatastring (char *a); description reads a proxy (object or entity) string into the buffer pointed to by a. return value returns 1 on success, 0 on failure. on failure, aderror() should be checked for an indication of the cause of the failure. given the pointer to a acdbproxyentity object, how can i get the value of its string atrributes, like the function of "adreadproxydatastring" in c. thanks!!!! to get access to proxy entity (object) data you need to know its data format and implement your custom class representing the entity. see sergey slezkin read binary data from proxy n our application i need to read binary data from oddbproxyentity, so that it can be stored in our database (not oda database), and so that we can later write it our to dwg/dxf. (in other words, we don't want to handle proxy entity, just store it's data for round-trip back to dwg/dxf). i don't see how i can use custom entity class as in excustobjs to do what i want. is there any other way i can extract binary data from oddbproxyentity after it has been loaded form file? thanks you can use oddbentget() / oddbentmod() for that purpose (see the bottom of dbobject.h) sergey slezkin |
所有的时间均为北京时间。 现在的时间是 01:19 PM. |