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: 2023.0.3
Syntax
public class InputDefinitionFactory

The InputDefinitionFactory type exposes the following members.

Constructors
  NameDescription
Public methodInputDefinitionFactory
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
Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next