Developer forum
cancel
Showing results for 
Search instead for 
Did you mean: 

3D Text to have no pen outline

JGoode
Booster
Hello,

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

Thanks
ArchiCAD 17, 19, 21 and 23
Windows 8
3 REPLIES 3

A_ Smith
Contributor
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
Booster
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

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!