Reports can be generated fairly easily, manually. But how do you do it programmatically using the Tekla Open API?
Please see below for a code sample:
Programmatically Extracting Report Values
- Now, if you want to generate the values programmatically, in memory, and then process them somehow into an excel output, consider the following code sample here.
- If you want to programmatically select model objects, refer to the code pasted above.
- The question: how to generate generate excel files given a particular hash table – this is not an issue pertaining to the Tekla Open API specifically though. I would use a library like CSV Helper to create a series of rows from the hash table.
Leave a Reply