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

Linetype name

DGSketcher
Virtuoso
Does anyone know how to extract the Linetype name of a 2D line with REQUEST or otherwise for a Label? I seem to be able to drill down into most elements to get Linetype information, but there doesn't seem to be a direct connection to 2D linetypes. This may be further frustrated that labels will not associate with lines.
Apple iMac macOS Big Sur / AC24UKI (most recent builds)
4 REPLIES 4

runxel
Mentor
In general it's
n = REQUEST ("Name_of_line_type", index, name)
But I think you can't query the used lines from the labeled element.
AC 24 [ger] | Win 10 | Developer of the GDL plugin for Sublime Text |
«Furthermore, I consider that Carth... yearly releases must be destroyed»

DGSketcher
Virtuoso
Thanks, I found that but I can't see a query option that would work with drawn 2D lines. I am trying to develop a suggestion by Peter Baksa that we can use the Linetype name to display associated values in a label. On plan you can use the Morph line but you can't use Morphs in a Detail window, which is where I need to place the label.
Apple iMac macOS Big Sur / AC24UKI (most recent builds)

Peter Baksa
Graphisoft
Graphisoft
DGSketcher wrote:
Thanks, I found that but I can't see a query option that would work with drawn 2D lines. I am trying to develop a suggestion by Peter Baksa that we can use the Linetype name to display associated values in a label. On plan you can use the Morph line but you can't use Morphs in a Detail window, which is where I need to place the label.
It was a bad idea, I didn't think about lines can't be labelled associatively.
Péter Baksa
Software Engineer, Library as a Platform
Graphisoft SE, Budapest

DGSketcher
Virtuoso
Thanks for clarifying Peter. There is another one for the wish list....
Apple iMac macOS Big Sur / AC24UKI (most recent builds)

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!