Interface INamedAttribute
- Namespace
- CADability
- Assembly
- CADability.dll
All Attributes for IGeoObject objects (e.g. Layer) are identified by name. They all implement this interface
public interface INamedAttribute
Properties
Name
The unique name of the attribute
string Name { get; set; }
Property Value
Parent
The list that contains this attribute (may also be null)
IAttributeList Parent { get; set; }
Property Value
Methods
GetSelectionProperty(string, Project, GeoObjectList)
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).
IPropertyEntry GetSelectionProperty(string key, Project project, GeoObjectList geoObjectList)
Parameters
keystringThe unique key of the attribute
projectProjectThe project that contains the attributeList
geoObjectListGeoObjectListThe objects that keep the attribute