PickerPickObject Method (String)

Requests the user to pick one object. Returns the picked drawing object and the view in which the pick occurred.

Namespace:  Tekla.Structures.Drawing.UI
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2025.0.0-alpha00045580+dc02c3918546f1e94eb2d3b13ea99057fb3313e0
Syntax
public Tuple<DrawingObject, ViewBase> PickObject(
	string prompt
)

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
Exceptions
ExceptionCondition
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.
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