高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】question about brackets [ ] in text and mtext entity
question about brackets "{ }" in text and mtext entity
question about brackets "{ }" in text and mtext entity
hello
can somebody explan to me detailed preparing text for correct storing in dxf, text like:
\abc {def} - this text is possible to store into dxf file, but when i was reading this text from dxf file, dwgdirect ignore brackets
another example text like {}. i prepare this text as \{\} and put it into dwg structure and when open this dxf file with autocad, acad render my text as \{\}, not ignored backslashes. is this acad bug or dwgdirect bug ?
how i have to prepare text like \{} for dwgdirect structer that i can have correct values of text in dxf file that i can see correct text in autocad when i load that file !?
i attached text.dxf file which was created with dwgdirect 2.5.1 and when i load this file into autocad, my brackets was not ignored by autocad render !
can somebody explain to me how i have to prepare my text with backslashes and brackets that i can correctly write and read my strings in a same values !
regards
ervin
attached files
i forgot to write, that this behaviour with not ignoring breackets is only in text entity, not in a mtext.
regards
ervin
hello ervin,
brackets "{}" are control simbols for mtext entity. so in case you set mtext content you need to prepare text as "\{\}". brackets "{}" are normal simbols for text enitity. so you needn't to add anything. for example string is "abc \{text\}" for mtext and "abc {text}" for text.
best regards,
sergey z.
ok, it's works
thanks to you a lot !
|