Streamline your workflows and master BIM coordination! Program starts April 28!

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

SECT_FILL command in AC 8

Anonymous
Not applicable
Hello,
Some info about the behavior of the SECT_FILL command in AC 8.
I recently reported an apparent bug in the way the section/elevation
tool was showing the cut lines in section. It was showing the default
cut pen even though the "use objects attributes" button was ON and
the object it was cutting had a SECT_FILL command in it's script.

GS posted back the following:
"The SECT_FILL works improperly, it has no effect on those bodies which
are after the macro calls.
I entered this as a bug into the AC Errors database."

Therefore if you have any bodies after a macro call you
need to issue another SECT_FILL command after the macro call(s).
Thank you,
Peter Devlin
6 REPLIES 6
Anonymous
Not applicable
Hmmm...

SECT_FILL does not appear to work with solid operations either... everything is the same default fill despite the SECT_FILL command.

Has anyone found a work-around?

regards
Anonymous
Not applicable
Bill,
I just made a very simple GDL object that uses
one solid geometry command.
I viewed it in Section/Elevation and it displayed the default
section pens and fill.

I then put a SECT_FILL command at the beginning of the script and it
appears to obey the command correctly in Section/Elevation.

Perhaps I misunderstand the way the SECT_FILL command is not
working for you.

Regards,
Peter
Anonymous
Not applicable
Peter

I have solved it thankyou, I also built a test object. It seems that the placement of SECT_FILL command is important. I was wanting an object with multiple section fills and thought such attributes would be defined with the group data (like the materials) but it seems that it only works if it is defined with the PLACEGROUP command so I have to do a separate solids operation for each different section fill.

GROUP "target1"
BRICK A,B,ZZYZX/2
ENDGROUP

GROUP "target2"
addz zzyzx/2
BRICK A,B,ZZYZX/2
DEL 1
ENDGROUP

GROUP "operator"
add a/3,b/3,-1
BRICK A/3,B/3,ZZYZX+2
DEL 1
ENDGROUP

SECT_FILL "Cut Stone",91,4,8

PLACEGROUP ( SUBGROUP ("target1","operator") )

SECT_FILL "Masonry Block",91,4,8

PLACEGROUP ( SUBGROUP ("target2","operator") )

KILLGROUP "target1"
KILLGROUP "target2"
KILLGROUP "operator"
Aussie John
Newcomer
makes you loose hair faster than it should
Cheers John
John Hyland : ARINA : www.arina.biz
User ver 4 to 12 - Jumped to v22 - so many options and settings!!!
OSX 10.15.6 [Catalina] : Archicad 22 : 15" MacBook Pro 2019
[/size]
Anonymous
Not applicable
Bill,
Thank you for alerting us to the placement of SECT_FILL commands issue
in solid geometry command sequences.
It would have taken me a while to have figured that one out.
Regards,
Peter
Anonymous
Not applicable
With more testing...

The SECT_FILL active at the time of the solid operation is the one that is used - this script bit also works for example:

SECT_FILL "Cut Stone",91,4,8
result1 = SUBGROUP ("target1","operator")
SECT_FILL "Masonry Block",91,4,8
result2 = SUBGROUP ("target2","operator")

PLACEGROUP result1
PLACEGROUP result2

cheers all ... with greying hair!