CADability dotNET
Adds the provided attribute to the list of accepted attributes. CADability knows the following attributes: Layer, Layer, ColorDef, LineWidth, LinePattern, DimensionStyle, HatchStyle. If you have your own attributes which are unknown to CADability, you need to override this method to handle those attributes.

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

Syntax

C#
public virtual bool Add(
	INamedAttribute atr
)
Visual Basic
Public Overridable Function Add ( _
	atr As INamedAttribute _
) As Boolean
Visual C++
public:
virtual bool Add(
	INamedAttribute^ atr
)

Parameters

atr
Type: CADability..::..INamedAttribute
Attribute to be accepted

Return Value

true, if attribute was known, false otherwise

See Also