1 post
0
new
Creating a preview model with Tekla Open API
20.06.2018 16:43

I need to check whether there is a preview in the model or not. If it does not exist, I need to create it using the Tekla Open API. Maybe someone has already encountered similar ones and knows how to implement it, tell me, please.) And I wrote down the macro, I thought that it would help me somehow (wpf.InvokeCommand ("CommandRepository", "Tools.CreatePreviewImage")), but no, a miracle did not happen.

How to make a check, whether there is a preview in the model folder, I know. And I know that when you create a manual preview, it is thrown into the model folder and called default thumbnail.png.

No Upvotes