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

AcDbTextStyleTableRecord::getRecord is not the same style

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
479 Views, 2 Replies

AcDbTextStyleTableRecord::getRecord is not the same style

hello:

getRecord : filename is txt

style : filename is txt.shx

 

what should I do?

 

Tags (1)
2 REPLIES 2
Message 2 of 3
tbrammer
in reply to: Anonymous


@Anonymous wrote:

getRecord : filename is txt

style : filename is txt.shx

what should I do?


First you should describe your problem and what you intend to do.

Some code would be helpful.

 

I guess you use AcDbTextStyleTableIterator::getRecord() to obtain an AcDbTextStyleTableRecord and AcDbTextStyleTableRecord::fileName() returns "txt". But what does: "style: filename is txt.shx" mean? Do you mean AcGiTextStyle::fileName()?

Maybe you can use AcGiTextStyle::font() and AcDbTextStyleTableRecord::font() instead of fileName().

 

 


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

Message 3 of 3
Anonymous
in reply to: tbrammer

Thank you for reading

I use AcDbTextStyleTableRecord->font() and AcDbTextStyleTableRecord->filename().

The filename() and font() display 'txt'.

I use Autocad‘s style command.It display 'txt.shx'.

The shx name returned by AcDbTextStyleTableRecord is incorrect.

I want to get the shx name and big shx name using objectarx.

Tags (1)

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

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report