Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

GDL Text Trouble

Anonymous
Not applicable
I've been trying everything I can think of to make this text rotate the way I want. I'm not sure whether I have it positioned wrong in the script or what the hell I'm doing wrong. Please take a look at it for me.
6 REPLIES 6
Anonymous
Not applicable
For auto scripted objects, always start from project origin (grey cross). Much easier to deal with transformations.
The main point is to start from (0, 0) origin (outlet centre). Then you will be able to control transformations.

In addition, you didn'y declare "Font Effects" values, do it.
You define twice the same text style. Once is enough. Same for "fe" statements and text pen.

Notice that for such a symbol, it is faster to script fom scratch a circle and two lines.
Add some hotspots and your text statements.

add2 x, y
rot2 myAngle
text2 0, 0, myText1
del 2

And so on.
Anonymous
Not applicable
Thanks Olivier. That got me what I wanted.

Rick
Anonymous
Not applicable
Here it is for anyone that's interested. It can be a plain duplex receptacle, 220, AFCI, GFI or Weatherproof GFI
Anonymous
Not applicable
Glad it works, and thanks for sharing.

For info, take a look at ACE. You may be interested with ELECTRIGON objects.
Not any ashame publicity, it's free. This work is the result of many contributors :
David Larrew, Tom Waltz, Andy Thomson, James Murray, Erich Karp, etc ... hope i don't forget anyone.
Karl Ottenstein
Moderator
Full Electrigon 2.0 page here:
http://www.archicad.ca/?p=138

Cheers,
Karl
One of the forum moderators
AC 28 USA and earlier   •   macOS Sequoia 15.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Anonymous
Not applicable
Olivier wrote:
Glad it works, and thanks for sharing.

For info, take a look at ACE. You may be interested with ELECTRIGON objects.
Not any ashame publicity, it's free. This work is the result of many contributors :
David Larrew, Tom Waltz, Andy Thomson, James Murray, Erich Karp, etc ... hope i don't forget anyone.
Sweet link. Thanks.