We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2024-01-25 12:28 AM - last edited on 2024-09-26 01:25 PM by Doreena Deng
When creating a detail marker object. There is a parameter called AC_ClippCoord which contains all the coordinates of the detail box/polygon. If the polygon is filleted on all corners then the AC_ClippCoord will contain all the end/start of each line and fillet. However I can't see anything which will tell me which coordinates are filleted.
So I am unable to draw the polygon correctly (I could assume the user fillets all corners but that could be disastrous if only some corners were filleted). Interestingly I notice the built-in detail marker by ArchiCAD object doesn't show fillets also?
2024-01-25 01:50 AM
I don't think you need to worry about it.
The polygon is defined by the user when they place the detail marker.
It can be any shape or size depending on the detail you need it for.
Then the polygon can be adjusted buy the user once it has been placed.
That array just stores the co-ordinates of that polygon.
Place a rectangular shape and then fillet/chamfer the corners you want or place it as a free-form polygon.
There should be no need for you to manipulate those co-ordinates.
And you wouldn't want to pre-set those values as you don't know the size of the detail.
Besides, when placing the detail, it will probably reset those values as you draw the detail polygon anyway.
You can' t pre-set the polygon shape or size before you place it.
The process of placing the detail marker is to draw the polygon on screen.
Barry.
2024-01-25 02:42 AM
Hey Barry,
I don't need to change the values after drawn by the user but want to know how to draw the polygon with its fillets in the code. Also want to know about the fillets to join the leader correctly on the filleted corners.
2024-01-25 02:52 AM
You can't draw the polygon with fillets.
You have 4 choices when you place a detail marker.
You place the detail and then fillet the corners.
That array just stores the values of the polygon nodes and will update as the polygon is adjusted.
You won't want to try setting values there yourself - that is why it is hidden from the user.
It is all automatic.
The leader is also automatically joined to the polygon no matter what shape you make it.
So again you won't want to try to control this.
All you can control in GDL is the shape of the marker itself and its content.
Barry.