Macro Editor - Table


You can also insert tables at the memorial. Tables can be:

  1. Static - are tables with number of fixed lines
  2. Dynamic - are the tables that can increase the number of lines as needed

To add a table in the memorial click the button Table. Let's do an example:

  1. Call the LegalDescriptionCreator or TableCreator command
  2. Add a macro to insert the polygon list in the subdivision: [Poligonos(O0|R1|S1|Q7|I1)], like this:

  3. Click the text [Poligonos(O0|R1|S1|Q7|I1)] and click Edit
  4. Click Add Table button:

  5. Add 3 rows clicking Add row button
  6. Add 6 columns by clicking the button Add Column
  7. Click mouse left button in to upper left cell, keep pressed, and go to the upper right cell, and click Merge button
  8. Fill cells:

    [Nome(C1)]
    Start Vertex End Vertex X Y Length Azimuth
               
     
  9. Click bottom left cell and choose Segments property in properties list. The table in this example is the dynamic type, for each vertex of the polygon will make the table increase in a row. But see, the properties that will write in the table refer to each edge of the polygon, so we will click the Expand button:


    Note that this button is only available if the cursor is in a table cell and a property of type List is selected
  10. After clicking the Expand button, note that the properties box shows segment of property and the title bar changes. Thus for each column will be possible to add suitable properties:    
     
    [Nome(C1)]
    Start Vertex End Vertex X Y Length Azimuth
    [VerticeInicial(I1)] [VerticeFinal(I2)] [VerticeInicial(I3)] [VerticeInicial(I4)] [Comprimento(R0|D3|P3|Um|T2|M2|N0)] [InfoAngulo(G1|Ugrau|A1|E1|R0|D3|P3|M2|N0)]
  11. Note that will only work if the cell has its line associated with the correct path, ie, [VerticeInicial(I1)] will show the initial vertex of the segment only if the title bar show the path Allotment/Polygon/Segments/Segment:

  12. Click the text [VerticeInicial(I1)], and click Edit button
  13. Add the Name property ([Nome(C1)]):  

  14. Click OK button
  15. Repeat for other columns, but, choosing another properties:
    1. Column Start Vertex, add the name ([Nome(C1)])
    2. Column End Vertex, add the name ([Nome(C1)])
    3. Column X, add the X of location ([Coordenada(S0|Um|R0|D3|P3|T2|M2|N0)])
    4. Column Y, add the Y of location ([Coordenada(S1|Um|R0|D3|P3|T2|M2|N0)])
    5. Column Length, add the length of the segment ([Comprimento(R0|D3|P3|Um|T2|M2|N0)])
    6. Column Azimuth, add the azimuth of the segment ([InfoAngulo(G1|Ugrau|A1|E1|R0|D3|P3|M2|N0)])
  16. Click OK button, to return to Table Creator screen
  17. Click the button Save to save the current template:  

  18. Click OK button to process
  19. The result of the example should be:

The example set is available in the program folder in "TEMPLATES/parcel tables.ldc"