Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Deleting dimstyles

149 views
Skip to first unread message

Pat Gillen

unread,
Nov 6, 2002, 12:30:34 PM11/6/02
to
I am trying to delete an added dimstyle (not "Standard") and cannot. The
drawing is now completely stripped of all entities, layers, blocks,
viewports, xrefs, images, etc. The dimstyle dialog box says the style I'm
trying to delete is in use. Setting the current style to "Standard" doesn't
help. Any ideas?


Gary Lafreničre

unread,
Nov 6, 2002, 12:40:21 PM11/6/02
to
Most likely, this dimstyle is nested in a block(s) that you've inserted.
You must determine in which block(s) the dimstyle is nested. This block(s)
must redefined externally and then re-inserted. Answer "YES" when asked if
you want to overwrite the existing block. After this is done you should be
able to purge the unwanted dimstyle.


Gary Lafrenière
CAD Manager
Plan B Retail Design
Remove NO SPAM from address before replying
--

"Pat Gillen" <p...@bouillonengineering.com> wrote in message
news:03097147C4A702B2...@in.WebX.maYIadrTaRb...

Pat Gillen

unread,
Nov 6, 2002, 3:30:32 PM11/6/02
to
Thanks, but there are no blocks in the drawing. Everything has been
deleted. This problem is affecting dozens of real drawings and I am
operating on a stripped down version of one of them to find the problem.
Again, as far as I know, everything has been deleted- xrefs, images, blocks,
layers, viewports, and purge run several times.

"Gary Lafrenière" <pla...@SPAMcharter.net> wrote in message
news:F6176E220EEC7568...@in.WebX.maYIadrTaRb...

Gary Vandawalker

unread,
Nov 6, 2002, 3:22:21 PM11/6/02
to
You may want to obtain the program named Super Purge. It does a much better
job of ripping the guts out of a drawing....can be dangerous to unknowing
users, but very effective. I use it constantly

Gary.

"Pat Gillen" <p...@bouillonengineering.com> wrote in message
news:03097147C4A702B2...@in.WebX.maYIadrTaRb...

Jason Piercey

unread,
Nov 6, 2002, 3:43:12 PM11/6/02
to
Hi Pat,

Can you post a sample file in the Customer Files newsgroup?


For NNTP newsgroup readers the Customer-files newsgroup can be found at
news://discussion.autodesk.com/autodesk.autocad.customer-files.

You may also access the customer-files group via the HTTP web-based forums
at
http://discussion.autodesk.com/WebX?14@@.ee940b5.

--
-Jason

Member of the Autodesk Discussion Forum Moderator Program

dc johnosn

unread,
Nov 6, 2002, 3:45:01 PM11/6/02
to
look here for super purge

http://www.manusoft.com/Index.stm


--
Dave C. Johnson
WWC Engineering
Sheridan WY.
Windows 2k
Acad Map 5
Survcadd XML
remove OUT to reply

Pat Gillen

unread,
Nov 6, 2002, 4:08:41 PM11/6/02
to
SuperPurge can't delete this style either. It is not listed as purgeable
and Hard purge won't remove it either. The drawing is now posted on the
Customer-files newsgroup at
news://discussion.autodesk.com/autodesk.autocad.customer-files.

"dc johnosn" <djohn...@OUTwwcengineering.com> wrote in message
news:3DC97F4D...@OUTwwcengineering.com...

Jason Piercey

unread,
Nov 6, 2002, 4:20:09 PM11/6/02
to
Your dimension style is being referenced by a dictionary defined in the
drawing.

--
-Jason

Member of the Autodesk Discussion Forum Moderator Program

Pat Gillen

unread,
Nov 6, 2002, 4:35:06 PM11/6/02
to
You've lost me. I have the default english main dict, and the sample custom
dict which I deleted (Tools/Options/Files...). Please explain more on what
to do.

"Jason Piercey" <Jason@AtrEngDOTcom> wrote in message
news:EED6208EFD65E6D3...@in.WebX.maYIadrTaRb...

Jason Piercey

unread,
Nov 6, 2002, 4:43:00 PM11/6/02
to
Not the spelling dictionary, a dictionary used to store data for AutoCAD.

Save the following in a .lsp file, load it (with appload) and type
DelAeDicts at the command prompt.

(defun deldict (dictName)
(dictremove (namedobjdict) dictName)
)

(defun listdictionaries ()
(massoc 3 (entget (namedobjdict)))
)

(defun massoc (key alist / x nlist)
(foreach x alist
(if (eq key (car x))
(setq nlist (cons (cdr x) nlist))
)
)
(reverse nlist)
)

(defun C:DelAeDicts ()
(foreach x (listdictionaries)
(if (wcmatch x "AE*") (deldict x))
)
)

--
-Jason

Member of the Autodesk Discussion Forum Moderator Program

Pat Gillen

unread,
Nov 6, 2002, 8:19:35 PM11/6/02
to
Jason, your Lisp routine solved the two problems I had with several dozen
drawings which were:

1. A custom DIMSTYLE couldn't be deleted, even though there doesn't appear
to
be any objects using it in the drawing.

2. With dimscale set to 96, the dimscale keeps automatically resetting to
48
when a new block is inserted and exploded.

Thank you very much.

Pat Gillen
Bouillon Engineering
p...@bouillonengineering.com

"Jason Piercey" <Jason@AtrEngDOTcom> wrote in message

news:9D66E73BD7B6BA97...@in.WebX.maYIadrTaRb...

Jason Piercey

unread,
Nov 7, 2002, 9:40:50 AM11/7/02
to
Glad I could help.

--
-Jason

Member of the Autodesk Discussion Forum Moderator Program

Pat Gillen

unread,
Nov 8, 2002, 1:12:58 PM11/8/02
to
Jason:
If you wouldn't mind, could you briefly explain what the delaedicts.lsp
routine does. I'm not LISP or data dictionary proficient but am very
curious how a data dictionary could change dimscale or anything else for
that matter that the average group of 10 year experienced AutoCAD user
couldn't find. We have collectively wasted countless hours on this problem
which you seemed to have found very quickly.

As I understand from reading different threads elsewhere, these dictionaries
can contain any kind of user data including variables that will follow the
drawing around, mainly for the benefit of programmers. The problems we have
appear to have come from using one particular architect's background as
xrefs on several different jobs. I would like to be able to alert them to
the problem so they don't reek havoc with all of the rest of the design team
on this or future projects.

Can you recommend a good utility toolkit that we can use to "see all" within
a drawing as you seem to able to. I'm not trying to short cut my way to
LISP excellence, but we need to be able to work productively if somebody
gives us a drawing with hidden information.

Thanks again,

Patrick Gillen

"Jason Piercey" <Jason@AtrEngDOTcom> wrote in message

news:D7B6FD30D12E7B73...@in.WebX.maYIadrTaRb...

Jason Piercey

unread,
Nov 8, 2002, 2:33:30 PM11/8/02
to
In short the DelAeDicts "grabs" all of the dictionaries that begin with AE
and deletes them. I tried to track down the exact dictionary that was
referencing the dimstyle, but didn't spend too much time with it as it was
getting "deep". Maybe someday when I have a bit more time I will pen a
function to search a dictionary for a specific value and return it, if
found. The following is a list of all the dictionaries defined in the file
you uploaded to customer files.

("ACAD_GROUP" "ACAD_IMAGE_DICT" "ACAD_LAYOUT" "ACAD_MLINESTYLE"
"ACAD_PLOTSETTINGS" "ACAD_PLOTSTYLENAME" "AcadDim" "ACDBVARIABLEDICTIONARY"
"AEC_2D_SECTION_STYLES" "AEC_DISP_REP_CONFIGURATIONS" "AEC_DISP_REP_SETS"
"AEC_DISP_REPS" "AEC_DISPLAY_PROPS_DEFAULTS" "AEC_PROPERTY_SET_DEFS"
"AEC_VARS"
"AECB_CABLETARY_RISEDROP_STYLES" "AECB_CONDUIT_RISEDROP_STYLES"
"AECB_CONNECTOR_STYLES" "AECB_DUCT_PARTCATPREF_STYLES"
"AECB_DUCT_RISEDROP_STYLES" "AECB_PIPE_PARTCATPREF_STYLES"
"AECB_PIPE_RISEDROP_STYLES" "ASE_INDEX_DICTIONARY")

Me not being familiar with the purpose of each dictionary, I wasn't sure if
what I posted would cause you other problems as well. As for why the
dimscale was changing, the majority of those dictionaries each contained at
least one reactor. A reactor is a programming doo-daad (technical term
there) that can cause things to happen automatically based on some
predefined criteria. For instance... say you have a polyline that defines
an area and a piece of text that displays the area in square feet (or
whatever) when the polyline gets redefined the text can be updated to
reflect the change in area without user input. Or in your case, you can
setup a reactor to "watch" a system variable and when it changes, do
something (like switch it back to what it was to begin with). I know next
to nothing about how to construct a reactor, so those were just a basic
examples.

As for a toolkit to reveal all of the drawings "guts" I don't know of one
that you can purchase, maybe someone else will jump in here if they are
aware of something like that. The Express Tools used to have a
DataBaseViewer (which is what I initially used to try and track down the
problem, but was unsuccessful as there was just too much info to browse
through). I believe that this feature has been removed from later versions
of the Express Tools as it can be a very dangerous tool in the wrong hands.
Once I saw how many dictionaries were in that file, I suspected that they
were the cause of your trouble and deleted all of the non standard ones and
viola the dimstyle became available for purging. So in reality, I just
guessed and happened to be correct.

Hope that helps.

--
-Jason

Member of the Autodesk Discussion Forum Moderator Program

"Pat Gillen" <p...@bouillonengineering.com> wrote in message

news:FCECD42AD5D092FF...@in.WebX.maYIadrTaRb...

Pat Gillen

unread,
Nov 8, 2002, 3:44:03 PM11/8/02
to
Thanks for the explanation. As we are mechanical and electrical engineers,
the AE groups look like the culprit may be some design drafting tool addin
or lisp routine. I'll circulate around here for every to review.


"Jason Piercey" <Jason@AtrEngDOTcom> wrote in message

news:13B97DCB1950B7B8...@in.WebX.maYIadrTaRb...

gaborm...@yahoo.ca

unread,
Jul 19, 2012, 11:56:30 AM7/19/12
to Pat Gillen
On Wednesday, November 6, 2002 12:49:46 PM UTC-5, Pat Gillen wrote:
> I am trying to delete an added dimstyle (not &quot;Standard&quot;) and cannot. The
> drawing is now completely stripped of all entities, layers, blocks,
> viewports, xrefs, images, etc. The dimstyle dialog box says the style I&#39;m
> trying to delete is in use. Setting the current style to &quot;Standard&quot; doesn&#39;t
> help. Any ideas?

The DelAeDict.lsp worked for me.
(Autocad 2012)
Thanks!!!
0 new messages