Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/11/2021 in all areas

  1. What do I mean, is some like this sample . it is a real true sample dim arced polylines.dwg
    1 point
  2. I got it , to set the arc dim is easy , any way, inside or outside , for lines it is problem, I know it is a pollyne. As to test in your case , please upload a real - true- as yor use, a sample dwg , not so simple as the screenshot yo show us And if yo admit the dim to be any way located
    1 point
  3. Did you google pretty sure it would be out there. Like dan20047 need to look at points (10 and is bulge (42
    1 point
  4. Consider the following example - the selection could be automated if the target block/attribute tag is known, or alternatively, it could search every block attribute for the target field expression and perform a replacement: (defun c:test ( / e n x ) (setq n "$(substr,$(getvar,dwgname),1,3)") (while (progn (setvar 'errno 0) (setq e (car (nentsel "\nSelect field: "))) (cond ( (= 7 (getvar 'errno)) (princ "\nMissed, try again.") ) ( (null e) nil ) ( (not (wcmatch (cdr (assoc 0 (setq x (entget e)))) "TEXT,MTEXT,ATTRIB,MULTILEADER,*DIMENSION")) (princ "\nInvalid object selected.") ) ( (not (and (setq x (cdr (assoc 360 x))) (setq x (dictsearch x "ACAD_FIELD")) (setq x (dictsearch (cdr (assoc -1 x)) "TEXT")) (setq x (cdr (assoc 360 x))) (setq x (entget x)) (= "FIELD" (cdr (assoc 0 x))) (= "AcDiesel" (cdr (assoc 1 x))) ) ) (princ "\nThe selected object does not contain a DIESEL field expression.") ) ( (entmod (subst (cons 2 (strcat "\\AcDiesel " n)) (assoc 2 x) (subst (cons 1 n) (assoc 1 (member (assoc 6 x) x)) x) ) ) (command "_.regenall") ) ) ) ) (princ) )
    1 point
  5. You may also wish to refer to my explanation and suggestion posted here.
    1 point
  6. I'd recommend layer states as well. Being able to apply them as viewport overrides is really useful as well. Adding this to your Acaddoc.lsp prevents layers not included in the layer state from being turned off unless you want them to: (vl-registry-write (strcat "HKEY_CURRENT_USER\\" (vlax-product-key) "\\Profiles\\" (getvar "cprofile") "\\Dialogs\\AcLayerApps:LayerStatesManager") "LayerNotFound" "0") ; Layer States Manager - Do not turn off layers not found in layer state
    1 point
  7. Probably need to use layer states. https://www.theswamp.org/index.php?PHPSESSID=liu951ho7q5s5nab8ntohghhv5&topic=44690.msg499120#msg499120 --edit-- LOL I should really finish reading before posting.
    1 point
×
×
  • Create New...