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.

ModelObjectVisualizationGetRepresentation Method

Gets current permanent representation (red, blue, green and transparency) of given model object

Namespace:  Tekla.Structures.Model.UI
Assembly:  Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2023.0.1
Syntax
public static bool GetRepresentation(
	ModelObject modelObject,
	ref Color color
)

Parameters

modelObject
Type: Tekla.Structures.ModelModelObject

[Missing <param name="modelObject"/> documentation for "M:Tekla.Structures.Model.UI.ModelObjectVisualization.GetRepresentation(Tekla.Structures.Model.ModelObject,Tekla.Structures.Model.UI.Color@)"]

color
Type: Tekla.Structures.Model.UIColor

[Missing <param name="color"/> documentation for "M:Tekla.Structures.Model.UI.ModelObjectVisualization.GetRepresentation(Tekla.Structures.Model.ModelObject,Tekla.Structures.Model.UI.Color@)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Tekla.Structures.Model.UI.ModelObjectVisualization.GetRepresentation(Tekla.Structures.Model.ModelObject,Tekla.Structures.Model.UI.Color@)"]

See Also
Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.