Index: trunk/doc/developer/lihata_board/comm_data.lht =================================================================== --- trunk/doc/developer/lihata_board/comm_data.lht (revision 16824) +++ trunk/doc/developer/lihata_board/comm_data.lht (revision 16825) @@ -221,17 +221,7 @@ } } } - ha:subc.ID { - type=ha - desc={an instance (full copy) of a subcircuit} - ver = {>=3} - li:children { - ha:uid = { valtype=minuid; desc={UID assigned by the user to track subc history }} - sy:attr@dup = {/lht_tree_doc/comm/attributes} - sy:flags@dup = {/lht_tree_doc/comm/flags_subc} - sy:data = {/lht_tree_doc/comm/data} - } - } + sy:subc.ID@dup {/lht_tree_doc/roots/pcb-rnd-subcircuit-v*/children/subc.ID} ha:element.ID { type=ha desc={an instance (full copy) of an obsolete element footprint} Index: trunk/doc/developer/lihata_board/root_subc.lht =================================================================== --- trunk/doc/developer/lihata_board/root_subc.lht (nonexistent) +++ trunk/doc/developer/lihata_board/root_subc.lht (revision 16825) @@ -0,0 +1,20 @@ +ha:lht_tree_doc { ha:roots { + + ha:pcb-rnd-subcircuit-v* { + type=li + desc={footprint file containing a single subcircuit} + li:children { + ha:subc.ID { + type=ha + desc={an instance (full copy) of a subcircuit} + ver = {>=3} + li:children { + ha:uid = { valtype=minuid; desc={UID assigned by the user to track subc history }} + sy:attr@dup = {/lht_tree_doc/comm/attributes} + sy:flags@dup = {/lht_tree_doc/comm/flags_subc} + sy:data = {/lht_tree_doc/comm/data} + } + } + } + } +}} \ No newline at end of file Index: trunk/doc/developer/lihata_board/tree.html =================================================================== --- trunk/doc/developer/lihata_board/tree.html (revision 16824) +++ trunk/doc/developer/lihata_board/tree.html (revision 16825) @@ -102,6 +102,18 @@     delta coord   TODO     li:objects     +

li:pcb-rnd-subcircuit-v*

+

+ +
type:name value ver description +
li:pcb-rnd-subcircuit-v*     footprint file containing a single subcircuit +
 ha:subc.ID   >=3 an instance (full copy) of a subcircuit +
  uid minuid   UID assigned by the user to track subc history +
  ha:attributes     a hash of attribute key=value pairs +
   attrib-key string   attribute value +
  flags_subc     +
  ha:data     Layers and global objects of the board -> +

Common subtrees

Each table below describes a subtree that usually does not specify a whole tree (thus they are usually not a valid file on their own). These subtrees are described in a separate table because they are used from multiple other trees.

ha:data

@@ -261,12 +273,12 @@       x coord   center, horizontal offset       y coord   center, vertical offset       dia coord   circle diameter -  ha:subc.ID   >=3 an instance (full copy) of a subcircuit -   uid minuid   UID assigned by the user to track subc history +  ha:subc.ID   >=3 an instance (full copy) of a subcircuit +   uid minuid   UID assigned by the user to track subc history   ha:attributes     a hash of attribute key=value pairs    attrib-key string   attribute value   flags_subc     -   ha:data     Layers and global objects of the board -> +   ha:data     Layers and global objects of the board ->  ha:element.ID   <3 an instance (full copy) of an obsolete element footprint   x coord   element origin (diamond), horizontal offset   y coord   element origin (diamond), vertical offset Index: trunk/doc/developer/lihata_board/tree.txt =================================================================== --- trunk/doc/developer/lihata_board/tree.txt (revision 16824) +++ trunk/doc/developer/lihata_board/tree.txt (revision 16825) @@ -98,6 +98,17 @@ delta coord TODO li:objects +li:pcb-rnd-subcircuit-v* + +type:name value ver description +li:pcb-rnd-subcircuit-v* footprint file containing a single subcircuit + ha:subc.ID >=3 an instance (full copy) of a subcircuit + uid minuid UID assigned by the user to track subc history + ha:attributes a hash of attribute key=value pairs + attrib-key string attribute value + flags_subc + ha:data Layers and global objects of the board -> + Common subtrees Each table below describes a subtree that usually does not specify a whole tree (thus they are usually not a valid file on their own). These subtrees are described in a separate table because they are used from multiple other trees.