Cannot pruge dimstyle & text style

Cannot pruge dimstyle & text style

Anonymous
Not applicable
1,006 Views
3 Replies
Message 1 of 4

Cannot pruge dimstyle & text style

Anonymous
Not applicable

We've 'inherited' a load of old drawings that have to be amended. In trying to clean them up a little first we decided to purge them all out. There's a dimstyle that can't be purged - AM_ANSI & a textstyle also - ACANSGDT.

They cannot be purged yet they don't exist.

(setq dms (tblsearch "DIMSTYLE" "AM_ANSI"))

 

Returns an entity name

(entget dms)


Returns:

(-1 . <Entity name: 7ef07178>)
(0 . "DIMSTYLE")
(105 . "B25F")
(102 . "{ACAD_REACTORS")
(330 . <Entity name: 7ef070f8>)
(102 . "}")
(330 . <Entity name: 7ef01c50>)
(100 . "AcDbSymbolTableRecord")
(100 . "AcDbDimStyleTableRecord")
(2 . "AM_ANSI")
(70 . 0)
(4 . "mm")
(41 . 0.12)
(42 . 0.05)
(43 . 0.5)
(44 . 0.1)
(47 . 0.1)
(48 . 0.1)
(78 . 7)
(79 . 2)
(90 . 1)
(140 . 0.12)
(141 . 0.0)
(146 . 0.71)
(147 . 0.06)
(176 . 256)
(177 . 256)
(178 . 2)
(274 . 4)
(284 . 7)
(340 . <Entity name: 7ef01c80>)
(345 . <Entity name: 7ef01ca0>)
(346 . <Entity name: 7ef01ca0>)
(347 . <Entity name: 7ef01ca0>)
(371 . -1)
(372 . -1))

 

 

As can be seen, there's reactors & subentities in there. I think the dwg must have been created using Autocad Mechanical which isn't available to us. Any ideas please anyone on how to reomove these unwanted objects?

0 Likes
1,007 Views
3 Replies
Replies (3)
Message 2 of 4

dbroad
Mentor
Mentor

The reasons a named object cannot be purged include: 1)The style is current, 2)The style is referenced.  In your case, the objects are referenced.  Looking at your drawing, it contains a lot of dictionaries that would not normally be present in an AutoCAD drawing.  This indicates that you have created the drawing with either an Autodesk Vertical Product or 3rd party software.  The references are not directly accessible to you and may be part of a valuable system that involves calculations you cannot see.  If you do not value those items, then you can choose to wblock the visible objects to a new drawing.  This will make the dimstyles purgeable and also delete unreferenced text styles.

 

 This is a list of your dictionaries:

 

Spoiler
((-1 . <Entity name: 7ff7745050c0>)
(0 . "DICTIONARY")
(330 . <Entity name: 0>)
(5 . "C")
(100 . "AcDbDictionary")
(280 . 0)
(281 . 1)
(3 . "ACAD_CIP_PREVIOUS_PRODUCT_INFO")
(350 . <Entity name: 7ff77450c1f0>)
(3 . "ACAD_COLOR")
(350 . <Entity name: 7ff774508460>)
(3 . "ACAD_DETAILVIEWSTYLE")
(350 . <Entity name: 7ff774512a00>)
(3 . "ACAD_GROUP")
(350 . <Entity name: 7ff7745050d0>)
(3 . "ACAD_LAYOUT")
(350 . <Entity name: 7ff774508030>)
(3 . "ACAD_MATERIAL")
(350 . <Entity name: 7ff774508450>)
(3 . "ACAD_MLEADERSTYLE")
(350 . <Entity name: 7ff77450c190>)
(3 . "ACAD_MLINESTYLE")
(350 . <Entity name: 7ff7745050e0>)
(3 . "ACAD_PLOTSETTINGS")
(350 . <Entity name: 7ff774508040>)
(3 . "ACAD_PLOTSTYLENAME")
(350 . <Entity name: 7ff774508010>)
(3 . "ACAD_SCALELIST")
(350 . <Entity name: 7ff77450c070>)
(3 . "ACAD_SECTIONVIEWSTYLE")
(350 . <Entity name: 7ff7745129e0>)
(3 . "ACAD_TABLESTYLE")
(350 . <Entity name: 7ff774508470>)
(3 . "ACAD_VISUALSTYLE")
(350 . <Entity name: 7ff77450a5d0>)
(3 . "AcDbVariableDictionary")
(350 . <Entity name: 7ff774508570>)
(3 . "ACGREF_MASTER")
(350 . <Entity name: 7ff77450c310>)
(3 . "ACGREFACAD_MASTER")
(350 . <Entity name: 7ff77450c350>)
(3 . "AcmDictionary")
(350 . <Entity name: 7ff77450c4d0>)
(3 . "ACME_COMMAND_HISTORY")
(350 . <Entity name: 7ff77450c290>)
(3 . "ACME_SCOPE_NAME")
(350 . <Entity name: 7ff77450c280>)
(3 . "ACMESTATEMGR")
(350 . <Entity name: 7ff77450c2c0>)
(3 . "AcmeSysVarManager")
(350 . <Entity name: 7ff77450c2a0>)
(3 . "AcmSystemVariableManager")
(350 . <Entity name: 7ff77450c3a0>)
(3 . "AMG")
(350 . <Entity name: 7ff77450c210>)
(3 . "AMGSNAPSETTINGS")
(350 . <Entity name: 7ff77450ca20>)
(3 . "AMI_MASTER")
(350 . <Entity name: 7ff77450c380>)
(3 . "AUTOCAD_ASSEMBLIES_PROJECT")
(350 . <Entity name: 7ff77450c430>)
(3 . "Designer_Assemblies_SysVars")
(350 . <Entity name: 7ff77450c3d0>)
(3 . "GREFAM_MODULE")
(350 . <Entity name: 7ff77450c390>)
(3 . "StructToggleButtonState")
(350 . <Entity name: 7ff77450cb40>)
)

 

 

Architect, Registered NC, VA, SC, & GA.
0 Likes
Message 3 of 4

Anonymous
Not applicable

Goodness, I had no idea there were that many dictionaries in the drawing.

What bit of code did you type in vlide to retrieve that little lot Doug?

I would hazard a guess that the 'guilty' one is: (3 . "AMI_MASTER")

WBLOCK-ing all those drawings would take ages, there's 87 of them. Is there a bit of code to remove dictionaries?

0 Likes
Message 4 of 4

dbroad
Mentor
Mentor

(entget (namedobjdict))  will get the listing.  Copy and paste it to a new vlide window and use the format button to word wrap it.

Architect, Registered NC, VA, SC, & GA.
0 Likes