!Restored: gdl text justificattion
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2007-05-12 08:42 PM
‎2007-05-12
08:42 PM
Edit...My original post said that I was trying to justify left which is was this script does, my bad. I want it to justify right.
lw=7 5/16"
nb=a
dis=12"
dis2=2"
if nd='R' then dis = 23"
if nd='L' then dis2=13"
if lgtp ='4x8'and nd='L' then dis2=9"
if lgtp ='4x8'and nd='R' then dis=19"
DEFINE STYLE "mytext2" "ariel", 1.5, 1, 0
if st=0 then 10:
set style "mytext2"
TEXT2 (a-dis), lw-1", STR ("%0.16ffi",nb)
10:
set style "mytext2"
TEXT2 dis2, lw-1", row
!set style "mytext2"
!TEXT2 (A/2)-5",lw-1", cc
rect2 0,0,a,lw
hotspot2 0,0
hotspot2 0,lw
hotspot2 a,LW
hotspot2 a,0
hotspot2 a,lw/2
hotspot2 0,lw/2
hotspot2 lw/2,5"
hotspot2 lw/2,3"
hotspot2 lw/2,4"
set fill 16
poly2_b 5, 2, 100, 91,
0,0,1,
A,0,1,
A,lw,1,
0,lw,1,
0,0,1
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2007-05-13 05:36 PM
‎2007-05-13
05:36 PM
It's in the DEFINE STYLE line. Without my manual handy, I can't say just which value it is though. If you have the GDL Manual (it's in your Archicad installation folder), you can probably look up the syntax.
Tom Waltz
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2007-05-13 08:23 PM
‎2007-05-13
08:23 PM
Thanks Tom, I actually found it a few hours ago but had to go out for a while. It is Define Style....DEFINE STYLE "mytext2" "ariel", 1.5, 3, 0. The third entry is the anchor point of the text. I found the list of numbers and their corresponding anchor points(3 being justify right). It was a frustrating trial and error but I learned a couple other things in the process!! Thanks again Doug
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2007-05-13 08:27 PM
‎2007-05-13
08:27 PM
Also...might want to spell Arial correctly if that is the font you want. 😉
Karl
Karl
One of the forum moderators
AC 28 USA and earlier • macOS Sequoia 15.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
AC 28 USA and earlier • macOS Sequoia 15.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2007-05-13 08:50 PM
‎2007-05-13
08:50 PM
Thaks Karl!! I didn't even notice that.
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2007-05-14 06:16 PM
‎2007-05-14
06:16 PM
Karl wrote:Perhaps he wants the mermaid.
Also...might want to spell Arial correctly if that is the font you want.😉
Karl
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2007-05-15 01:28 AM
‎2007-05-15
01:28 AM
She's cute but I'm allergic to fish scales!!