MTEXT Hanging Indent
Hi,
I always thought it was not possible to create paragraph formats like hanging indents in MTEXT entities in BC. However, I have received a drawing created in ACad and there is an MTEXT with a hanging indent that BC is honouring. Can I create such formats in BC, and if so, how?
Thanks
Jamie
I always thought it was not possible to create paragraph formats like hanging indents in MTEXT entities in BC. However, I have received a drawing created in ACad and there is an MTEXT with a hanging indent that BC is honouring. Can I create such formats in BC, and if so, how?
Thanks
Jamie
0
Comments
-
Try using an external editor for MText by setting MTEXTED to notepad. Create a multiline text and when notepad pops up enter the text below, save and close notepad. I am not sure how the text will look one posted but there should only be two lines.
[code]Here is a sample of text. It is a typical paragraph and will wrap as expected.
\pi-5,l5;Here is a sample of text. It is an indented paragraph with the first line aligned with the previous paragraph.[/code]0 -
I had another minute to spare so I made another sample. In the paragraph format code the:
- l# is left indent
- r# is right indent
- b# is space above
- a# is space below
- t# is setting a tab
2. This is another note. The text portion is a little longer. The intent is to create a note that will wrap over several lines. Once it does it will provide a good example for the indent and tab setup in MText.
3. This is another note.
\pi-0,l0,r0,b2,a1,t10,20,30;ID Colour Name Score
\pi-0,l0,r0,b0,a0,t10,20,30;12 red fred 25.4
100 green wilma 52[/code]
Hope is it is a help...0 -
Thanks for that Greg, I'll give it a try. Are these codes listed in the help somewhere?
Also, I think ACad uses rulers in the GUI to set these sorts of things. My question to Bricsys is are there any plans to implement a similar system in BC?
Jamie0 -
Hi Jamie,
I have not noticed the MText format codes listed in the help. The ones I listed were found by looking at the format codes contained in MText from drawing I have received, similar to you. The parameters with a 0 do not appear in the mtext I have looked at and I think if you create an MText this way the before and after paragraph spacing will be removed by the built-in MText editor. Not a perfect solution just thought if you were in a bind and really needed a hanging indent ;-)
Probably the best way to get an idea when enhancements for the MText editor are planned would be to send in a support request. They are usually pretty good at letting you know timelines if it is in the current planning. If you do, please add the response here to let us all know.0
This discussion has been closed.