How to programmatically create bolt list reports from selected model objects (Tekla Open API)

You want to programmatically create reports. Here’s how

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.

Comments

One response to “How to programmatically create bolt list reports from selected model objects (Tekla Open API)”

Leave a Reply

Your email address will not be published. Required fields are marked *