Search Text String
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi guys!
Please help me with a small issue.
Is there any free routine that can search a text string in a drawing and then add it in a formula? String is "TOTAL LENGTH:XXX" (XXX is variable) and i need to set dimension text height = XXX value * 0.4
I already set the dimension variables, only text/arrows height needs to be calculated. (see below code)
Thanks in advance!
(defun c:dsq()(command "dimclrt" "7" "" )(command "dimasz" "1" "" )(command "dimtxt" "1" "" )(command "dimclrd" "1" "" )(command "dimclre" "1" "" )(command "dimscale" "1" "" )(command "dimdec" "0" "" )(command "dimtvp" "0.7" "" )(command "dimtih" "OFF" "" )(command "dimtoh" "OFF" "" )(command "dimexo" "0" "" )(command "dimexe" "0.8" "" )(command "dimcen" "2" "" )(command "dimtofl" "ON" "" )(command "dimtfill" "0" "" )(princ))