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

Wall Reference Line Global for Labels?

Is there a Wall Reference Line Global for Labels or a REQUEST?
I need the position of the Wall Reference Line in relation to the outer edge of the wall, requested from a label that is connected to the wall, see image.
Joachim Suehlo . AC12-25 . MAC OSX 10.15 . WIN10

Peter Baksa
Not in relation to the outer edge, but we have LABEL_ASSOC_ELEM_GEOMETRY.referenceLine2D in project coordinates. It is available since AC23, but it will first appear in the next version's manual.

Only valid when the associated element is a wall. Not valid in 3D and UI script.

.referenceLine2D{}: (dictionary) 2D reference line in the project coordinate system. Basic walls with Polygonal Geometry Method can have multiple edges. The same data format as PolyOperations polylines, it can be sent directly to "StoreDictPolyline".

.referenceLine2D.isClosed: (boolean) 1 - closed polyline, 0 - open polyline (the last point given as an extra edge). Reference lines are always open polylines.

.referenceLine2D.contour{}: (dictionary) contains data of the polyline

.referenceLine2D.contour.edges: (array) contains an embedded dictionary for each edge of the polyline.

.referenceLine2D.contour.edges.type: (integer) 0 - straight, 1 - curved (circular arc)

.referenceLine2D.contour.edges.begPoint{}: (dictionary) an embedded dictionary for the 2D coordinates of the beginning point of the edge

.referenceLine2D.contour.edges.begPoint.x: (float)

.referenceLine2D.contour.edges.begPoint.y: (float)

.referenceLine2D.contour.edges.arcAngle: (angle) central angle of the edge curve, positive counter-clockwise, negative clockwise (not set for straight edges)
Péter Baksa
Software Engineer, Library as a Platform

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!