Hi,
I have this which is near (you might have to change the Y scale to get closer to your pattern, I'll let you do that)
Simply copy and paste the following on the command line and the "ALTERNATIVE" line type will be available.
((lambda ( / f_lin doc)
(if (not (tblsearch "STYLE" "ALTERNATIVE"))
(entmakex
'(
(0 . "STYLE")
(100 . "AcDbSymbolTableRecord")
(100 . "AcDbTextStyleTableRecord")
(2 . "ALTERNATIVE")
(70 . 0)
(40 . 0.0)
(41 . 1.0)
(50 . 0.0)
(71 . 0)
(42 . 1.0)
(3 . "ARIAL.TTF")
(4 . "")
)
)
)
(entmake
(list
'(0 . "LTYPE")
'(100 . "AcDbSymbolTableRecord")
'(100 . "AcDbLinetypeTableRecord")
'(2 . "ALTERNATIVE")
'(70 . 0)
'(3 . "alterné")
'(72 . 65)
'(73 . 3)
'(40 . 1.287)
'(49 . 0.0)
'(74 . 2)
'(75 . 0)
(CONS 340 (TBLOBJNAME "STYLE" "ALTERNATIVE"))
'(46 . 1.0)
'(50 . 0.0)
'(44 . -0.595)
'(45 . -0.3215)
'(9 . "■")
'(49 . -0.6435)
'(74 . 2)
'(75 . 0)
(CONS 340 (TBLOBJNAME "STYLE" "ALTERNATIVE"))
'(46 . 1.0)
'(50 . 0.0)
'(44 . -0.595)
'(45 . -0.3215)
'(9 . "□")
'(49 . -0.6435)
'(74 . 0)
)
)
(if (not (findfile "ALTERNATIVE.lin"))
(progn
(setq f_lin (open (strcat (getvar "ROAMABLEROOTPREFIX") "support\\ALTERNATIVE.lin") "w"))
(write-line "*ALTERNATIVE,black-white" f_lin)
(write-line "A,0,[\"\\U+25A0\",ALTERNATIVE,S=1,R=0,X=-0.595,Y=-0.3215],-0.6435,[\"\\U+25A1\",ALTERNATIVE,S=1,R=0,X=-0.595,Y=-0.3215],-0.6435" f_lin)
(close f_lin)
)
)
(setq doc (vla-get-activedocument (vlax-get-acad-object)))
(if
(and
(not
(vlax-for item (vla-get-linetypes doc)
(if (= (strcase (vla-get-name item)) (strcase "ALTERNATIVE")) T)
)
)
(vl-catch-all-error-p
(vl-catch-all-apply
'vla-load
(list (vla-get-Linetypes doc) "ALTERNATIVE" "ALTERNATIVE.lin")
)
)
)
nil
T
)
(princ "\nType Line \"ALTERNATIVE\" created!")
(prin1)
))