Developer forum
cancel
Showing results for 
Search instead for 
Did you mean: 

About the label of the opening

Nami Furuta
Contributor

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.

5 REPLIES 5

Barry Kelly
Moderator

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.


One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Nami Furuta
Contributor

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?


@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.

 


One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

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.

 

 

 

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.

Péter Baksa
Software Engineer, Library as a Platform
Graphisoft SE, Budapest

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!