SECT_FILL command in AC 8
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-05-26 09:11 PM
2004-05-26
09:11 PM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-08-23 07:21 AM
2004-08-23
07:21 AM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-08-23 08:12 PM
2004-08-23
08:12 PM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-08-24 12:08 AM
2004-08-24
12:08 AM
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"
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"

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-08-24 01:01 AM
2004-08-24
01:01 AM
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]
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-08-24 01:43 AM
2004-08-24
01:43 AM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-08-24 04:17 AM
2004-08-24
04:17 AM
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!
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!