GDL and SUBGROUP Materials

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2010-12-16 03:02 AM
‎2010-12-16
03:02 AM
Is there any way to control the material assignment of the Targets cut edges when using the SUBGROUP command in GDL?
It defaults to applying the material of the Operator. I need to have the equivalent of 'New Surfaces of Target will: Use Their Own Attributes' available in the SEO dialog within AC ... doesn't seem to be an option but thought i would ask the question before posting a wish.
cheers,
os
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2010-12-16 04:51 PM
‎2010-12-16
04:51 PM
I did not need such thing, but I would try saving such objects with material inheritng as GDL...and than investigate the code...
Best Regards,
Piotr
Best Regards,
Piotr
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2010-12-16 08:18 PM
‎2010-12-16
08:18 PM
In my research for selfGDL I haven't found a way to controlmaterial heritage of the cutted surface. IMHO: No.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2010-12-16 09:13 PM
‎2010-12-16
09:13 PM
Material definition must be inside each group.
The same for SECT_FILL or SECT_ATTRS and transformations.
Better control, for complex operations,
if you place this stuff AFTER each group definition.
The same for SECT_FILL or SECT_ATTRS and transformations.
Better control, for complex operations,
if you place this stuff AFTER each group definition.
group "operator 1" !!! ----- part 1 ----- material mat1 ! red roty 90 extrude ... del 1 body -1 !!! ----- part 2 ----- material mat2 ! green roty 90 mulx -1 ruled{2} ... del 2 body -1 !!! ----- part 3 ----- material mat3 ! blue roty 90 mulx -1 ruled{2} ... del 2 endgroup group "target 1" material matTarget ! yellow prism_ ... endgroup placegroup subgroup ("target 1", "operator 1") killgroup "operator 1" killgroup "target 1"
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2010-12-17 12:10 AM
‎2010-12-17
12:10 AM
But you can't control, if the cutted surface has the material of the operator or of the target group.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2010-12-17 01:07 AM
‎2010-12-17
01:07 AM
Thanks guys ... looks like it can't be controlled simply though.
I took a look at the GDL of an object saved from the floorplan and the autoscript actually repeats the operator element for each target, reassigning the operator with the target material each time to get the same affect as the 'Use Targets Own Attributes' option.
I've actually switched from an SEO to using a CUTPOLY which does the job in this instance as all i needed was a simple extrusion SEO.
cheers,
owen
I took a look at the GDL of an object saved from the floorplan and the autoscript actually repeats the operator element for each target, reassigning the operator with the target material each time to get the same affect as the 'Use Targets Own Attributes' option.
I've actually switched from an SEO to using a CUTPOLY which does the job in this instance as all i needed was a simple extrusion SEO.
cheers,
owen