BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

GDL
About building parametric objects with GDL.

3D Text to have no pen outline

JGoode
Advocate
Hello,

Is it possible to get my 3D text to not show a pen outline in the 3D view?

Thanks
ArchiCAD 23

Windows 10
3 REPLIES 3
A_ Smith
Expert
AC22, win10 works

pen 20 !red
material 99 ! any material

group "one"
DEFINE STYLE "aa" "New York", 3, 7, 0
SET STYLE "aa"
TEXT 0.005, 0, " " !empty
endgroup

group "one1"
material 99
TEXT 0.005, 0, "3D Textnow without line?.."
endgroup

placegroup addgroup{2}("one","one1",0,0,0,1)	!if last digit is '0' (not 1) line will appear

last image (with red lines) - changed 1 to 0.
though idk why it didn't work on the exact same group - had to join to empty 3D text...
AC 22, 24 | Win 10
Peter Baksa
Graphisoft
Graphisoft
A. wrote:
though idk why it didn't work on the exact same group - had to join to empty 3D text...
The last parameter is operationStatus: status control of the operation.
operationStatus = j1 + 2*j2, where each j can be 0 or 1.
j1: generated new edges will be invisible.

If you add the same to something, there are no new edges.
Péter Baksa
Software Engineer, Library as a Platform
Graphisoft SE, Budapest
JaseBee
Advocate
Seems they've added a function to simplify this process now...

From GDL reference guide...
"CREATEGROUPWITHMATERIAL

CREATEGROUPWITHMATERIAL (g_expr, repl_directive, pen, material)
Returns a group that is created by replacing all pens and/or materials in group g_expr.

g_expr: group expression identifying the base group.
repl_directive:
repl_directive = j1 + 2*j2 + 4*j3 + 8*j4, where each j can be 0 or 1.
j1: replace pen,
j2: replace material,
j4: make edges invisible.
pen: replacement pen index.
material: replacement material index."
AC 24 5004 AUS
iMac OSX (10.13.6) 4.2ghz i7
8gb ram/8gb vram
Learn and get certified!