CODComponent::SetID

inline void CODComponent::SetID(const ODComponentId lID)

Set the ID of this component.

Defined in: OdComponent.h

Return Value

void

Parameters

lID

The new ID.

Comments

Do not call this method directly, unless you are certain that the ID is unique within the diagram model! This method is typically used by classes like CODModel, which implement the IODIdGenerator interface. The RegisterID method uses the IODIdGenerator interface to obtain unique IDs. See IODIdGenerator and CODModel for more information about generating component IDs.