Z1000
2004-01-06 22:04:09 UTC
I am trying to create a lisp that will update associative dimensions on older drawings to a new client standard.
I set up the new style called "style_new" and tried to change all the old "style_old" dimensions to "style_new".
I tried setting "style_new" as my current dimension style and using the "update" command. Problem with that was that it kills any "overrides" that might exist on the dimensions such as DIMLFAC or DIMSE1, etc.
I need a way to change the dimension style without altering the "overrides".
I tried using SSGET to make a selection set SS1 out of the offending dimensions and use (command "-DIMSTYLE" "A" SS1 "") to change them to the current style. It works, but it also resets the "overrides". Aaaagh!
I then tried using SUBST and ENTMOD to change (3 . "style_old") to (3 . "style_new") but it does not work on dimensions apparently. It will change the entity data, but as soon as you ENTMOD it, it returns to the original style.
Anyone solved this or want to try? Please?
Mike (Z1000)
I set up the new style called "style_new" and tried to change all the old "style_old" dimensions to "style_new".
I tried setting "style_new" as my current dimension style and using the "update" command. Problem with that was that it kills any "overrides" that might exist on the dimensions such as DIMLFAC or DIMSE1, etc.
I need a way to change the dimension style without altering the "overrides".
I tried using SSGET to make a selection set SS1 out of the offending dimensions and use (command "-DIMSTYLE" "A" SS1 "") to change them to the current style. It works, but it also resets the "overrides". Aaaagh!
I then tried using SUBST and ENTMOD to change (3 . "style_old") to (3 . "style_new") but it does not work on dimensions apparently. It will change the entity data, but as soon as you ENTMOD it, it returns to the original style.
Anyone solved this or want to try? Please?
Mike (Z1000)