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

Linetype name

DGSketcher
Champion
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 Ventura / AC26UKI (most recent builds)
4 REPLIES 4

runxel
Ace
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.
Mostly AC 26 on Mac | Author of SelfGDL | Developer of the GDL plugin for Sublime Text |
«Furthermore, I consider that Carth... yearly releases must be destroyed»

DGSketcher
Champion
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 Ventura / AC26UKI (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
Champion
Thanks for clarifying Peter. There is another one for the wish list....
Apple iMac macOS Ventura / AC26UKI (most recent builds)

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!