Hello @shil143 @hak_vz @CADaSchtroumpf
1) First I have removed "MY"solution because I am almost "null" in Lisp/AutoLisp
The Lisp routine (related to Polylines) is 99.99% from @hak_vz !
2) I have tried to update the @CADaSchtroumpf routine (related to MPolygons)
but WITHOUT success !!
;; New Lines to get the 2 Names ... WHERE I have to insert these 2 Lines ???
;; It seems to be wrong just after the defun !!
(setq ODTableName (getstring "\nOD Table Name > "))
(setq ODFieldName (getstring "\nOD Field Name for the TEXT inside > "))
-- Original line from Mr CADaSchtroumpf :
(ade_odsetfield (cdar e) "SUN" "SUN_NO" 0 (cdr (assoc 1 (entget (ssname js 0)))))
-- Changed to :
(ade_odsetfield (cdar e) ODTableName ODFieldName 0 (cdr (assoc 1 (entget (ssname js 0)))))
3) What do you mean by >>> Can You Change to Multiple Object Selection <<<
Do you want a general purpose routine for MPolygons, 2D Closed PLines, Cercles ??
THANKS in advance for your help !
THE HEALTH, Regards, Patrice
Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks
Patrice BRAUD
