TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: HasanCAD on October 04, 2010, 10:33:38 AM
-
Entmake without text alignment working good
(entmakex (list
(cons 0 "TEXT")
(cons 1 LyrName)
(cons 7 "LyrNameTxt")
(cons 8 LyrName)
(cons 10 Pnt2)
(cons 40 220)
(cons 41 0.8)
(cons 62 LyrClr)
))
but when try to add dxf code for alignment the text created in 0,0
(entmakex (list
(cons 0 "TEXT")
(cons 1 LyrName)
(cons 7 "LyrNameTxt")
(cons 8 LyrName)
(cons 10 Pnt2)
(cons 40 220)
(cons 41 0.8)
(cons 62 LyrClr)
(cons 72 0.0)
(cons 73 2.0)
))
Help please
-
You must use DXF code 11 for alignment.
Just put the same point in 10 and 11 and it should work.
-
Text with alignment other than "left" uses DXF code 11 for the location, not 10.
-
CAB
dgorsman
Working
Thanks
-
Text with alignment other than "left" uses DXF code 11 for the location, not 10.
Thanks for the clarity 8-)