I don't know if I've been away from gdl far too long but I can't seem to figure this out. The script below is Archicad generated from an object I created and saved as a window. It's a piece of house log, 12" long, D shaped with tongue and groove. I'd like to convert it to a wallhole. Any thoughts?
while your code model the log section, the wallhole command needs the polygon on the face of the wall to do the hole.
The idea is:
1-use your for/next statement to stack the required coordinates of the polygon (use PUT)
2-order the coordinates and add the status codes for each point(i think you need to use an array, a for/next and a combination of GET and PUT)
3-use wallhole with a GET command to retrive all the arguments needed.
Since your hole is not a simple prism you have to face some more problems, perhaps you have to make the wallhole bigger and model the parts that are between the oversized wallhole and the ideal wallhole.