ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to modify ent with acdwgfiler

5 REPLIES 5
Reply
Message 1 of 6
xinxirong
293 Views, 5 Replies

how to modify ent with acdwgfiler

I test acdwgfiler in arxdbg sample,select a text obj->dwgOut(&filer);//output "writestring xxx" obj->dwgIn(&filer);//output i cannot find "readstring?
5 REPLIES 5
Message 2 of 6
xinxirong
in reply to: xinxirong

if I select a Line,it won't crash. If I select a Text,it crash,why?

 

es=obj->dwgOut(&filer);//eOk
es=obj->dwgIn(&filer);//return eInvalidInput

Message 3 of 6
tbrammer
in reply to: xinxirong

It is quite unusual to call AcDbObject::dwgOut(AcDbDwgFiler *filer) and  AcDbObject::dwgOut(AcDbDwgFiler *filer) in an application.

What are you trying to do? And what kind of AcDbDwgFiler do you use?


Thomas Brammer ● Software Developer ● imos AGLinkedIn
If an answer solves your problem please [ACCEPT SOLUTION]. Otherwise explain why not.

Message 4 of 6
xinxirong
in reply to: tbrammer

ArxDbgDwgFiler.h in sdk sample
Message 5 of 6


@xinxirong wrote:
ArxDbgDwgFiler.h in sdk sample

What about debug filer?

Try to redefine Acad::ErrorStatus readItem(ACHAR** pVal) method. By the way, there are many more methods that are not redefined in arxdbgdwgfiler.h  - all readItem(...) and writeItem(...) methods.

Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | Do you find the posts helpful? "LIKE" these posts!
Находите сообщения полезными? Поставьте "НРАВИТСЯ" этим сообщениям!
На ваше запитання відповіли? Натисніть кнопку "ПРИЙНЯТИ РІШЕННЯ" | Have your question been answered successfully? Click "ACCEPT SOLUTION" button.
На ваш вопрос успешно ответили? Нажмите кнопку "УТВЕРДИТЬ РЕШЕНИЕ"


Alexander Rivilis / Александр Ривилис / Олександр Рівіліс
Programmer & Teacher & Helper / Программист - Учитель - Помощник / Програміст - вчитель - помічник
Facebook | Twitter | LinkedIn
Expert Elite Member

Message 6 of 6

how about this GDwgFiler,i search the web ,only found this.but still return eInvalidInput

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost