PickerPickObjectAndPoint Method |
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.
Namespace: Tekla.Structures.Drawing.UI
Assembly: Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2026.0.0-alpha00057080+93cd22c410a086ecc356b7088d4daaf2e12907eb
Parameters
- prompt
- Type: SystemString
The prompt shown in the status bar before the pick. See the class remarks for more information about prompts.
Return Value
Type: TupleDrawingObject, ViewBase, Point| Exception | Condition |
|---|---|
| InvalidPluginPickerInputException | Thrown when the picker is being used through a plug-in which has invalid PluginPickerInputs defined. |
| PickerInterruptedException | Thrown when the user interrupts the picker before anything has been picked. |