API Reference

Detailed and full API reference helps you master Tekla development

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

Meta.Microsoft.Help.Id
T:Tekla.Structures.Drawing.Tools.InputDefinitionFactory

InputDefinitionFactory Class

The InputDefinitionFactory class contains helper functions for input definition handling.
Inheritance Hierarchy
SystemObject
  Tekla.Structures.Drawing.ToolsInputDefinitionFactory

Namespace:  Tekla.Structures.Drawing.Tools
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2020.0.0.0 (2020.0.55582.0)
Syntax
public class InputDefinitionFactory

The InputDefinitionFactory type exposes the following members.

Constructors
  Name Description
Public method InputDefinitionFactory
Initializes a new instance of the InputDefinitionFactory class
Top
Methods
Examples
using Tekla.Structures.Drawing;
using Tekla.Structures.Drawing.UI;
using Tekla.Structures.Drawing.Tools;
using Tekla.Structures.Geometry3d;
using Tekla.Structures.Plugins;

public class Example
{
       public void Example1()
       {
           var drawingHandler = new DrawingHandler();
           Picker picker = drawingHandler.GetPicker();

           var pick = picker.PickPoint("Pick a point");
           var inputDefinition = InputDefinitionFactory.CreateInputDefinition(pick);

           ViewBase myView = InputDefinitionFactory.GetView(inputDefinition);
           Point myPoint = InputDefinitionFactory.GetPoint(inputDefinition);
       }
}
See Also