CADability dotNET
When an IGeoObject changes the context that contains the lists of attributes it must replace its attributes by those given in the new context. If there are no appropriate attributes in the new context, these attributes must be included int this new context. This happens when drag and drop operations are executed or when a model is copied from one project to another project. IGeoObjectImpl contains a complete implementation regarding the attributes Style, Layer, ColorDef, LineWidth, LinePattern, HatchStyle and DimensionStyle

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

Syntax

C#
void UpdateAttributes(
	IAttributeListContainer alc
)
Visual Basic
Sub UpdateAttributes ( _
	alc As IAttributeListContainer _
)
Visual C++
void UpdateAttributes(
	IAttributeListContainer^ alc
)

Parameters

alc
Type: CADability.Attribute..::..IAttributeListContainer
The context, usually a Project which contains the attribute lists

See Also