check mark

check mark

k005
Advisor Advisor
1,388 Views
6 Replies
Message 1 of 7

check mark

k005
Advisor
Advisor

Hello

 

 

How can I print the checkmark as text when I click on a point?

* as layer : It should be "ONAY" and it should be color number 100.
* font style name "onay" font : windings , sign : ü

 

sign height : textsize * 2

 

I attached the file.

0 Likes
Accepted solutions (1)
1,389 Views
6 Replies
Replies (6)
Message 2 of 7

pbejse
Mentor
Mentor

@k005 wrote:

How can I print the checkmark

 


You have a choice of three Marks here

marks.png

Better yet,  take all of them.

 

0 Likes
Message 3 of 7

k005
Advisor
Advisor

@pbejse 

 

none

 

🙂

0 Likes
Message 4 of 7

pbejse
Mentor
Mentor

@k005 wrote:

none


Oh Bummer, I was so sure you will at least pick one of the three 😊

 

0 Likes
Message 5 of 7

k005
Advisor
Advisor

@pbejse 

 

 

well then. my choice: Mark Wahlberg

and Max Payne

 

😃

 

0 Likes
Message 6 of 7

hak_vz
Advisor
Advisor
Accepted solution

@k005 wrote:

@pbejse 

well then. my choice: Mark Wahlberg

and Max Payne

😃

 


Marky Mark is not of help. Try this instead.

 

(defun c:checkmark ( / pt *error* oldstyle)
	(defun *error* ()
		(setq oldstyle (getvar 'Textstyle))
		(princ)
	)
	(setq oldstyle (getvar 'Textstyle))
	(setvar 'Textstyle "Onay")
	(while (setq pt (getpoint "\nSelect check mark point >"))
		(entmake
			(list
				(cons 0 "TEXT")
				(cons 8 "Onay")
				(cons 100 "AcDbText")
				(cons 10 (trans pt 1 (trans '(0 0 1) 1 0 T)))
				(cons 40 (* 2 (getvar 'Textsize)))
				(cons 1 "\U+00FC")
				(cons 7 "Onay")
				(cons 62 100)
				(cons 50(angle '(0 0 0) (trans (getvar "UCSXDIR") 0 (trans '(0 0 1) 1 0 T))))
				(cons 100 "AcDbText")
				(cons 210 (trans '(0 0 1) 1 0 T))
			)
		) 
	)
(setvar 'Textstyle oldstyle)	
(princ)
)

 

 

Miljenko Hatlak

EESignature

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
0 Likes
Message 7 of 7

k005
Advisor
Advisor

@hak_vz 

 

too many arguments

----------------------------------

 

 

sorry.!  Thank you very much, it's ok. 🤗