Hide menu
Loading...
Searching...
No Matches
Drawing Exploration Example

Table of Contents

Explores the Structure of drawings.

Description

Drawing::Drawing consist of sheets encapsulated in Drawing::Sheet which, in turn, consist of views encapsulated in Drawing::View , as shown in Drawings.

To traverse the drawing structure we use iterators: Drawing::Drawing::SheetIterator and Drawing::Sheet::ViewIterator . To explore the view content we use the Drawing::ElementVoidVisitor .

Drawing "mcad_drawing_23":
-- Sheet <0>
---- View <0>
------- Text <0>
--------- text: "6"
--------- origin: (292.85999; 613.08002)
--------- rotation: 0.0
--------- font size: 13.5
------- Text <1>
--------- text: "n"
--------- origin: (801.0; 515.34003)
--------- rotation: -90.13751220703125
--------- font size: 12.960000038146973
...
------- CurveSet <0>
--------- number of curves: 1406
-- Sheet <1>
---- View <0>
------- Text <0>
--------- text: "2"
--------- origin: (98.04; 706.79999)
--------- rotation: -90.13751220703125
--------- font size: 13.5600004196167
------- Text <1>
--------- text: "0"
--------- origin: (98.04; 714.23999)
--------- rotation: -90.13751220703125
--------- font size: 13.5600004196167
...
------- CurveSet <0>
--------- number of curves: 998

Files