Show / Hide Table of Contents

Interface INamedAttribute

All Attributes for IGeoObject objects (e.g. Layer) are identified by name. They all implement this interface

Namespace: CADability
Assembly: CADability.dll
Syntax
public interface INamedAttribute

Properties

| Improve this Doc View Source

Name

The unique name of the attribute

Declaration
string Name { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Parent

The list that contains this attribute (may also be null)

Declaration
IAttributeList Parent { get; set; }
Property Value
Type Description
IAttributeList

Methods

| Improve this Doc View Source

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).

Declaration
IShowProperty GetSelectionProperty(string key, Project project, GeoObjectList geoObjectList)
Parameters
Type Name Description
System.String key

The unique key of the attribute

Project project

The project that contains the attributeList

GeoObjectList geoObjectList
Returns
Type Description
IShowProperty
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX