Message 1 of 17
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Good day,
I am having issue creating an MTEXT entity using Entmake:
(setq nVal (cadr rL)) (setq nStyle (cdr (assoc 7 (entget mL)))) (setq cIns (cdr (assoc 10 (entget mL)))) (setq cTh (cdr (assoc 40 (entget mL)))) (setq nIns (list (car cIns) (+ (cadr cIns) 19.25) 0)) (terpri)(princ nVal) (terpri)(princ nStyle) (terpri)(princ nLayer) (terpri)(princ cIns) (terpri)(princ nIns) (terpri)(princ cTh) (princ "\n 9 ") (entmake (list (cons 0 "MTEXT") (cons 1 nVal) (cons 7 nStyle) (cons 8 nLayer) (cons 10 nIns) (cons 40 cTh) (cons 41 0.0) (cons 50 0.0) (cons 71 2) (cons 72 1) (cons 100 "AcDbEntity") (cons 100 "AcDbMText") ) ;list ) ;entmake (princ "\n 10 ")
The routine completes, but the Mtext object doesn't show up. Do you guys know what is going on?
EDIT: I've attached the entire routine for context (if you need it).
Solved! Go to Solution.