2021-12-14 03:24 AM
Create the opening label GDL yourself.
I want to put 「X」 mark on the opening at the same time as placing the opening label.
For that, I want to get the coordinates of the opening, but how do I get the coordinates of the opening from the opening label? please tell me.
I want to use "OPENING_SYMBOL_GEOMETRY" in a GDL2D script, but I don't know how to use it.
2021-12-14 03:29 AM
Seems to be a similar post going on here ...
https://community.graphisoft.com/t5/Developer-forum/Opening-Symbol-as-Label/td-p/323785
Maybe this will help.
Barry.
2021-12-14 04:47 AM
Thank you Barry.
I coded "OPENING_SYMBOL_GEOMETRY.boundingBox2D" and "OPENING_SYMBOL_GEOMETRY.polygon2D.contour" in the way I was taught, but when I save the GDL I get the following error message:
There is a 2D script error. If you use this library part in a project, it will be displayed as its 2D symbol.
Do you know what the cause is?
2021-12-14 04:57 AM
@Nami Furuta wrote:
Do you know what the cause is?
No, sorry.
I haven't looked into any of this.
Is there any reason why you are not using the built-in 2D symbol of the opening to place the 'X' ?
You can still add a separate label if you need more information, but then the opening symbol is not dependent on the label.
Or are you trying to add the 'X' in elevation?
Barry.
2021-12-14 05:48 AM
I don't use the 2D symbol GDL because I want to put X mark at the same time as placing the opening label.
I want to put X mark on both the floor plan and the elevation.
Nami.
2021-12-22 09:34 AM
Hi,
OPENING_SYMBOL_GEOMETRY is not set in labels.
And opening symbols can't draw text, it can't be done in the same GDL object.