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.

AnalysisObjectSelectorSetSelectedObjects Method

Set analysis objects as selected in model views.

Namespace:  Tekla.Structures.Analysis.UI
Assembly:  Tekla.Structures.Analysis (in Tekla.Structures.Analysis.dll) Version: 2022.0.13611
public int SetSelectedObjects(
	List<AnalysisObject> analysisObjects,
	bool append


Type: System.Collections.GenericListAnalysisObject
The analysis objects.
Type: SystemBoolean
If true, objects are added to currently selected. If false, current selection is cleared.

Return Value

Type: Int32
The count of objects selected.
See Also