2 - Introduction - Plugin API
2 - Introduction - Plugin API
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