For any AutoCAD, can use XDLabel and XDTOOLS - not on OD, but on XData.
Similarly:
1. Create an XData definition - XDTOOLS_MDEFINE.
2. Attach these XData to the desired objects - XDTOOLS_ADD.
3. Link inscriptions and objects - XDLABEL_LINK. The content of the inscriptions located within the specified tolerance will be loaded into the XData field.
2. Transfer the content of the XData field to the attribute - XDTOOLS_2ATTR.
XDLabel has advantages:
1. Not only Text, but also MText, Leader, MLeader can be linked to objects.
2. Can link inscriptions to objects of many types. For example, can associate the nearest MLeader with _facade_cable polylines. Etc.
3. The created connection is maintained - when moving an object, when changing its shape, the inscriptions after XDLABEL_UPDATE will be moved accordingly.
XData can be converted to OD if necessary - CADaSchtroumpf had programs for this. Or XData can be uploaded to csv. And from csv can load it to OD.
-- Alexander, private person, pacifist, english only with translator
🙂 --
Object-modeling _
odclass-odedit.com _ Help