Michaels
12th Sep 2010, 10:55 am
Hello,
In my codes below, I have a very nice codes that control with Mtext's contents
which are highlighted in red.
I looked for the rest but without a result. So anybody have any please ?
(vl-load-com)
(setq MyCadDocs (vla-get-activedocument (vlax-get-acad-object)))
(setq pt (getpoint "\n Specify point for text :"))
(vla-put-attachmentpoint (vla-addmtext (vla-get-modelspace MyCadDocs)
(vlax-3d-point pt)
0
"{\\C230 Michaels \\C5;!}")
acattachmentpointmiddlecenter)
many thanks.
Michaels
In my codes below, I have a very nice codes that control with Mtext's contents
which are highlighted in red.
I looked for the rest but without a result. So anybody have any please ?
(vl-load-com)
(setq MyCadDocs (vla-get-activedocument (vlax-get-acad-object)))
(setq pt (getpoint "\n Specify point for text :"))
(vla-put-attachmentpoint (vla-addmtext (vla-get-modelspace MyCadDocs)
(vlax-3d-point pt)
0
"{\\C230 Michaels \\C5;!}")
acattachmentpointmiddlecenter)
many thanks.
Michaels