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

SECT_FILL does not work with cWall in AC12

Jochen Suehlo
Moderator
SECT_FILL does not work with cWall in AC12. This is a bug, because in AC11 it works fine.
Has anybody an idea how to easily add a section fill without rewriting a complex shape with another command?
Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de
11 REPLIES 11
Anonymous
Not applicable
Joachim, you are right, it is a bug. Same thing with SECT_ATTRS and cWALL_.
SECT_FILLS settings show at the first time during half a second, and are replaced by current Section settings, with Cut Fill Background Pen missing.

I don't see a solution.
Quick testing with cWall part called as a macro, and same bad result. This is for GS.
Did you try xWALL_, which syntax looks close to cWALL_?
Anonymous
Not applicable
Yeah, xWALL_ works fine in section. Except syntax, which is a pain, it could be a solution waiting for a fix.
Jochen Suehlo
Moderator
Hi Olivier, thankm you for your rapid answer.
But punish me, I wrote the wrong commad name.
It was not cWALL_ that I was working on; it was cROOF_.
And there seems to be no xROOF_.
Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de
Anonymous
Not applicable
Joachim wrote:
Hi Olivier, thankm you for your rapid answer.
But punish me, I wrote the wrong commad name.
It was not cWALL_ that I was working on; it was cROOF_.
And there seems to be no xROOF_.
Bingo! Two bugs at once. cROOF_ and cWALL_.
As you said, not any xROOF_ command. This is anoyous.
Anonymous
Not applicable
Joachim, I just checked SECT_FILL and SECT_ATTRS with cROOF_ command in AC12 INT and it works fine.
Are you sure to put a SECT_FILL sentance before each cROOF_ ? I can't reproduce what you decsribe.

With cWALL_, for sure there is a bug. Neither SECT_FILL or SECT_ATTRS work in AC12. It worked before.
With cROOF_, I am not sure. Could someone else verify?
Laszlo Nagy
Community Admin
Community Admin
Guys, I have reported this to GS.
Thanks for letting us know about them.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
Jochen Suehlo
Moderator
Olivier, I used cRoof for a part of a fill body of a window reveal, so it has to use the fill of the wall.
But with the example of the GDL manual it also does not work.
I added the command for SECT_FILL. gr_fi is defined in the parameter list.
I enabled "Objects attributes" at Floor Plan and section.
If I then use there (Objects attributes) a fill that is not empty, the fill is seen,
but it is not the one defined in the SECT_FILL: This behaviour (I think) should not be.

L=0.25
R=(0.6^2+L^2)/(2*L)
A=ASN(0.6/R)

SECT_FILL gr_fi,SYMB_FBGD_PEN,SYMB_FILL_PEN,SYMB_SECT_PEN

CROOF_ M_,M_,M_,
16, 2, 0, 0,
0, 0, 45, -0.2*SQR(2),
0, 0, 0, 15,
3.5, 0, 0, 15,
3.5, 3, -45, 15,
0, 3, 0, 15,
0, 0, 0, -1,
0.65, 1, -45, 15,
1.85, 1, 0, 15,
1.85, 2.4-L, 0, 13,
1.25, 2.4-R, 0, 900,
0, 2*A, 0, 4015,
0.65, 1, 0, -1,
2.5, 2, 45, 15,
3, 2, 0, 15,
3, 2.5, -45, 15,
2.5, 2.5, 0, 15,
2.5, 2, 0, -1
Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de
Jochen Suehlo
Moderator
Interesingly the SECT_FILL was "killed" by the cROOF_, so it can not by used by the following 3D solids. You must define a new SECT_FILL for the following 3D-elements.
Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de
Anonymous
Not applicable
Joachim, I get the same bad result with your example.

Since my test example worked, I found a possible culprit.
Closing the contour leads to an error. Thus, just puting a hole inside cROOF_ get the section wrong. AC12 only.
for k = 1 to 2
	body -1
	sect_fill 69, 0, 10, 7

	put 0.00, -0.50, -50.00, 15,    
		0.00,  0.50,  30.00, 15,    
		2.00,  0.50, -40.00, 15,    
		2.00, -0.50,  30.00, 15

!	put 0.00, -0.50, -50.00, -1    !!! closing = get error

	croof_  mat, mat, mat, 
		nsp/4, 
		0.00, -0.50, 0.00, 0.50, 
		0.00, 10.00, 0.30,
		get(nsp)

	addz 1.00
next k
	del 2

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!