FONT EXTRACTION

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey All,
I love this forum - there is so much information to learn and so many experts to learn from...
I have howerver, been banging my head on this issue.
I am trying to extract a text styles, font, font style and height to a CSV file for examination. And also the dimstyles, text style, font and font style.
(defun table (xt / ds tx )
(while (setq ds (tblnext xt (null ds)))
(setq tx (cons (cdr (assoc 2 ds)) tx))
(setq tx (cons (cdr (assoc 100 ds)) tx))
)
)
(table "dimstyle")
The DXF code for any DIMTXSTY always seems to be a standard or "" or null output
(vlax-for x (vla-get-TextStyles file)
(print (vla-get-Name x))
)
This provides a list, nicely.
My coding is crap on a great day. So does any one have a solution or code, to get the actual font, font style and height out to a csv, please?
And attempts to get the sma e from a dim results in a requirement to find the block text style...
Anyway, cheers ahead of time...