guitarguy1685 Posted February 1, 2010 Posted February 1, 2010 hello i'm just experimenting with creating entities w/ dxf codes. I'm not sure what I"m missing here. This is what I've tried so far (entmake '((0 . "MTEXT") (67 . 0) (8 . "0") (10 3.0 3.0 3.0) (40 . 4.0) (41 . 36.0) (71 . 1) (72 . 5) (1 . "THIS IS A TEST") (7 . "Standard") (50 . 0.0))) I thought i got all the info but I get "nil" at the command prompt. what am I missing? Quote
Lee Mac Posted February 1, 2010 Posted February 1, 2010 Subclass markers are not ignored with MTEXT, as they are with TEXT. This is the minimum info you need to provide: (defun M-Text (pt val) (entmakex (list (cons 0 "MTEXT") (cons 100 "AcDbEntity") (cons 100 "AcDbMText") (cons 10 pt) (cons 1 val)))) Quote
guitarguy1685 Posted February 1, 2010 Author Posted February 1, 2010 simple enogth. thanks again! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.