![]() |
【转帖】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 ! |
所有的时间均为北京时间。 现在的时间是 06:04 AM. |