How to add an ID to AIS_Shape?

Hello,
I'm new to OOC.
I'd like to add an ID to AIS_Shape to be used as reference to my application data model.
Does the existing AIS_Shape host an attribute that I may use or should I derive the AIS_Shape class adding the new attribute?
Andrea

Stephane Routelous's picture

Hi,

you can use the method AddUser from AIS_InteractiveObject to attach any data to the AIS_Shape (because AIS_Shape inherits AIS_InteractiveObject)

HTH,

Stephane

Andrea N.'s picture

Thank you