0% found this document useful (0 votes)
5 views

2 - Introduction - Plugin API

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

2 - Introduction - Plugin API

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Tekla Structures Open API

25 Tekla Open API: Overview & Getting Started


Tekla Open API – Plug-in
§ Plug-in API
– Can create intelligent objects.
§ Connections and details.
§ Stairs, floor bays, handrails, and more.
– Automatically loaded at startup.
§ Found in the component catalog.
– Plugins can be associated to input.
§ Automatically adapt to changes in input objects.
– Provides Tekla Structures UI.
§ Same INP as custom components.
§ Units, translations, access to catalog.
– Plug-ins for drawings.

26 10/9/2017
Tekla Open API - Drawing
§ Drawing API
– Access the drawing list.
– Create, modify and delete.
§ GA drawings and views in any drawing.
§ Dimensions, text and other basic objects.
– Interact with the user.
§ Get currently selected drawing objects.
§ Prompt user to pick objects and locations.
§ Select and highlight objects for the user.
– Access model objects from the drawing.
§ Select the parts found in a drawing in the model.

27 10/9/2017
How a Plug-in is Structured
§ New Plug-in/connection started
– Constructor method runs
– Input prompted from user
§ Applied values taken from dialog
§ Plug-in Run() when input complete
– Both the StructuresData and the Input are stored to the
model database

28 Tekla Open API: Overview & Getting Started


Plug-in API examples

29 Tekla Open API: Overview & Getting Started


Plug-in API examples

30 Tekla Open API: Overview & Getting Started

You might also like