We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Archicad C++ API
About Archicad add-on development using the C++ API.

Contour lines in WALLBLOCK2

Jochen Suehlo
Moderator

Does the WALLBLOCK2 command basically has no contour lines?
I tried it with frame_fill 7, as in POLY2_B, but its does not work.

Wallblock2.png

Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de
8 REPLIES 8
DGSketcher
Legend

@Jochen Suehlo I have seen POLY2_B in GDL, where do you get "WALLBLOCK2" from, it isn't a standard listed function?

Apple iMac Intel i9 / macOS Sonoma / AC27UKI (most recent builds.. if they work)
Jochen Suehlo
Moderator

@DGSketcheryes, shurely:
Wallblock2manual.png

Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de
DGSketcher
Legend

@Jochen Suehlo I'm due an eye test... 😬

New to me, never used it, but from the manual it is only considered as part of an opening object, much like the Wallhole command, so it may not function in a different object type?

 

 

This command can be used in the 2D script of door/window objects only.

 



You have probably done this but in addition to setting the FrameFill to 7, have you have set the edge status flags to 1? 

Apple iMac Intel i9 / macOS Sonoma / AC27UKI (most recent builds.. if they work)
Jochen Suehlo
Moderator

Yes, I am using it in a window object, and yes, I set the edge flags to one.

See the example picture: Poly2_b and Wallblock2 have in the essential parts the same script.

Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de
Peter Baksa
Graphisoft
Graphisoft

No, it doesn't draw contours. It is very indirectly stated in the manual above wallhole2:

A correct solution [...] can be achieved by using the WALLHOLE2, WALLBLOCK2, WALLLINE2 and WALLARC2 commands.

Péter Baksa
Software Engineer, Library as a Platform
Graphisoft SE, Budapest
Bruce
Advisor

One wonders why it includes the s1...sn at the end of the x, y if it doesn't do anything.

Bruce Walker
www.brucepwalker.com
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb
Peter Baksa
Graphisoft
Graphisoft

Those are for additional status codes (arcs).

Péter Baksa
Software Engineer, Library as a Platform
Graphisoft SE, Budapest
Bruce
Advisor

I see.  Thanks Peter.

Bruce Walker
www.brucepwalker.com
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb