2009-11-30 09:44 PM
2009-12-01 04:09 PM
2009-12-01 04:39 PM
laszlonagy wrote:if I understand correctly, would this mean creating a set of input fields rather than having just one? IE I create my own line breaks by inserting the text on different lines? I was trying to stay away from that - hoping that I could have the block output the text just as AC outputs a regular block of text (where the width defines the line breaks). Please let me know if I've misinterpreted
As far as I can see there are no line breaks in you object. There reason it is written is several lines is because the width of the Text Block is less than the width of the Text written into it so it is placed into several lines.
Why don't you use several RICHTEXT2 commands?
You can use String commands to break down the input text string into 3-4 lines and display each with a RICHTEXT2 command.
2009-12-01 04:50 PM
2009-12-01 04:54 PM
laszlonagy wrote:I had tried that fist actually, but when exporting to autocad format it shows up - certainly not ideal!
Yes, this is what I meant.
You could also explicitly define line breaks in your input text by putting \n into it, which is the GDL code for line break.
Let us see if that works.
2009-12-07 04:04 PM
2009-12-07 04:13 PM
laszlonagy wrote:and just for clarification (since I'm very new to GDL), when you say to use string commands to break up the text, you mean that I need a separate input line for each line of text, in the object settings? is it a quick enough exercise that you could show me an example of what you mean?
Yes, you have to take care of the scaling issue if that is something that is a factor during Translation.
I don't think the Text Block can be broken up because it is one element in ArchiCAD so it is converted to one element in AutoCAD.
You have to write the GDL in a way that produces your desired result.
As I said. what I would do is use one parameter for the text, then use string commands to break it up into several lines of text, then generate those as separate Text Blocks.
2009-12-07 08:13 PM