Assembly Output Example
This example demonstrates how to use template files to generate output files for assemblies.
*assemblies()
*format()
*string("ASSEMBLY: ")
*field(integer,id,0)
*string(" ")
*field(quotedstring,name,0)
*end()
*counterset(counter1,0)
*loopif([counter1 != numberofcomponents])
*pointerset(pointer1,components,counter1)
*string(" COMPONENT: ")
*field(integer,pointer1.pointervalue,0)
*string(" ")
*field(quotedstring,pointer1.component.name,0)
*end()
*counterinc(counter1)
*endloop()
*counterset(counter1,0)
*loopif([counter1 != numberofassemblies])
*pointerset(pointer1,assemblies,counter1)
*string(" SUBASSEMBLY: ")
*field(integer,pointer1.pointervalue,0)
*string(" ")
*field(quotedstring,pointer1.assembly.name,0)
*end()
*counterinc(counter1)
*endloop()
*counterset(counter1,0)
*loopif([counter1 != numberofmultibodies])
*pointerset(pointer1,multibodies,counter1)
*string(" MULTIBODY: ")
*field(integer,pointer1.pointervalue,0)
*string(" ")
*field(quotedstring,pointer1.multibody.name,0)
*end()
*counterinc(counter1)
*endloop()
*output()