CADability dotNET
Gets a selection property to select an appropriate attribute from a list. The current attribute can be retrieved by calling IGeoObject.GetNamedAttribute(key) and set by calling IGeoObject.SetNamedAttribute(key, newValue). List list of available properties should be retreived for the project by calling IAttributeListContainer.GetList(key).

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
IShowProperty GetSelectionProperty(
	string key,
	Project project,
	GeoObjectList geoObjectList
)
Visual Basic
Function GetSelectionProperty ( _
	key As String, _
	project As Project, _
	geoObjectList As GeoObjectList _
) As IShowProperty
Visual C++
IShowProperty^ GetSelectionProperty(
	String^ key, 
	Project^ project, 
	GeoObjectList^ geoObjectList
)

Parameters

key
Type: System..::..String
The unique key of the attribute
project
Type: CADability..::..Project
The project that contains the attributeList
geoObjectList
Type: CADability.GeoObject..::..GeoObjectList

Return Value

See Also