Originally Posted by
p_burgener751498
Thanks. Both are good ideas but neither increases the centerline extension for larger circles. I'd like the extension to be a percentage of the circle diameter, not a specific distance. -paul
Well that's not something that's built-in in AutoCAD that I'm aware of, but it could be done with lisp.
The quickest way I can think of is to create a block of the cross hairs that is 1x1 unit with the insertion point at the intersection,
Then when running it, the user types in the circle diameter (or pick quadrants) and then pick the center of the circle, and it places the block at 1.15% (or whatever scale you decide, would be built in the code).
But remember, if you're "teaching" people to use the the software, this isn't an OOTB feature and would not be out in the world at another workplace if they got a job doing CAD.
(update)
Just for giggles, I took a stab a the lisp routine and block I mentioned above, it works pretty much as I described.
If you were to use this, you would need to place and path the block dwg somewhere (or insert the dwg as a block into your dwg template, so it's available each session).
You would need to edit the layer name you use (I used "dimcen").
This scales the block x1.3 of the circle diameter you provide.
hope this helps, was fun to do.
Code:
(defun c:cm (/ osm cmde la lr1 scla sclb diam cntr)
(setq osm (getvar "osmode"))
(setq cmde (getvar "cmdecho"))
(setq la (getvar "clayer"))
(setvar "cmdecho" 1)
(setvar 'osmode 16)
(setq diam (getdist "circle diameter? "))(terpri)
(setvar 'osmode 4)
(setq cntr (getpoint "Select Center of Circle" ))(terpri)
(setq scla 1.3)
(setq sclb (* diam scla))
(setq lr1 (tblsearch "layer" "dimcen"))
(if (= lr1 nil)
(command "layer" "make" "dimcen" "color" "1" "" "" ""))
(command "layer" "set" "dimcen" "")
(command "-insert" "_centermrk" cntr sclb "")
(setvar "cmdecho" cmde)
(setvar "osmode" osm)
(setvar "clayer" la)
(princ)
)
(princ)