Traverses the product structure and computes the number of instances of unique parts and assemblies
Assembly: as1
--- Instance: noname
--- --- Assembly: rod-assembly
--- --- --- Instance: noname
--- --- --- --- Part: nut
--- --- --- Instance: noname
--- --- --- --- Part: nut
--- --- --- Instance: noname
--- --- --- --- Part: rod
--- Instance: noname
--- --- Assembly: l-bracket-assembly
--- --- --- Instance: noname
--- --- --- --- Assembly: nut-bolt-assembly
--- --- --- --- --- Instance: noname
--- --- --- --- --- --- Part: bolt
--- --- --- --- --- Instance: noname
--- --- --- --- --- --- Part: nut
--- --- --- Instance: noname
--- --- --- --- Assembly: nut-bolt-assembly
--- --- --- --- --- Instance: noname
--- --- --- --- --- --- Part: bolt
--- --- --- --- --- Instance: noname
--- --- --- --- --- --- Part: nut
--- --- --- Instance: noname
--- --- --- --- Assembly: nut-bolt-assembly
--- --- --- --- --- Instance: noname
--- --- --- --- --- --- Part: bolt
--- --- --- --- --- Instance: noname
--- --- --- --- --- --- Part: nut
--- --- --- Instance: noname
--- --- --- --- Part: l-bracket
--- Instance: noname
--- --- Part: plate
--- Instance: noname
--- --- Assembly: l-bracket-assembly
--- --- --- Instance: noname
--- --- --- --- Assembly: nut-bolt-assembly
--- --- --- --- --- Instance: noname
--- --- --- --- --- --- Part: bolt
--- --- --- --- --- Instance: noname
--- --- --- --- --- --- Part: nut
--- --- --- Instance: noname
--- --- --- --- Assembly: nut-bolt-assembly
--- --- --- --- --- Instance: noname
--- --- --- --- --- --- Part: bolt
--- --- --- --- --- Instance: noname
--- --- --- --- --- --- Part: nut
--- --- --- Instance: noname
--- --- --- --- Assembly: nut-bolt-assembly
--- --- --- --- --- Instance: noname
--- --- --- --- --- --- Part: bolt
--- --- --- --- --- Instance: noname
--- --- --- --- --- --- Part: nut
--- --- --- Instance: noname
--- --- --- --- Part: l-bracket
The use of a visitor is one of two possible ways of a Scene Graph traversal. Another way is to use an Iterator (example will be soon).