Tekla Open API

Detailed and full API reference helps you master Tekla Open API

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

Picker Methods

The Picker type exposes the following members.

Methods
  Name Description
Public method IsInteractive
Indicates whether the picker is interactive and currently allowed to access the UI or not. If not, then the plug-in should avoid making dialog calls or message boxes.
Public method PickObject(String)
Requests the user to pick one object. Returns the picked drawing object and the view in which the pick occurred.
Public method PickObject(String, DrawingObject, ViewBase)
Requests the user to pick one object.
Public method PickObject(String, DrawingObject, ViewBase, Point)
Requests the user to pick one object. Returns the picked point in addition to the picked object.
Public method PickObject(String, Type, DrawingObject, ViewBase, Point)
Requests the user to pick one object of the given types. Returns the picked point in addition to the picked object.
Public method PickObjectAndPoint
Requests the user to pick one object. Returns the picked drawing object, the view in which the pick occurred and picked point in the view coordinates.
Public method PickPoint(String)
Requests the user to pick one point. Returns the picked point in the view coordinates and the view in which the pick occurred.
Public method PickPoint(String, Point, ViewBase)
Requests the user to pick one point.
Public method PickPoints(StringList)
Requests picks of points from the user. The sequence is terminated by the middle button pick. Returns the picked points in the view coordinates and the view in which the pick occurred.
Public method PickPoints(Int32, StringList)
Requests N picks of points from the user. Returns the picked points in the view coordinates and the view in which the pick occurred.
Public method PickPoints(StringList, PointList, ViewBase)
Requests picks of points from the user. The sequence is terminated by the middle button pick.
Public method PickPoints(Int32, StringList, PointList, ViewBase)
Requests N picks of points from the user.
Public method PickThreePoints
Requests a pick of three points from the user.
Public method PickTwoPoints
Requests a pick of two points from the user.
Top
See Also