Jump to content

Recommended Posts

Posted

Hej, I have a drawing with XREFs (underlay) after purging and saving the dwg the next time i open the dwg there are Materials and Plot Styles to purge all over again. How can i stop the materails and plot styles automatically coming back!?! Its driving me insane!!! Thanks in advance.

  • Replies 20
  • Created
  • Last Reply

Top Posters In This Topic

  • preCAD

    10

  • ReMark

    8

  • CyberAngel

    1

  • OMEGA-ThundeR

    1

Top Posters In This Topic

Posted

Can you share a copy of the actual drawing file with us? If so then attach it to your next post and someone here will take a look at it.

Posted

Sorry i am not allowed to share a copy of the drawing file due to customer constraints. :/

Posted

Have you checked the VISRETAIN and XREFOVERRIDE system variables? Have you tried unloading the Xrefs to see if the problem persists? How are you accessing the materials?

Posted
Sorry i am not allowed to share a copy of the drawing file due to customer constraints. :/

In all my years here trying to assist other AutoCAD users I've never stolen a drawing. If you don't tell I promise I won't either.

Posted

Haha. I know i know, the drawings i work on have some quite sensitive information. So sharing outside the company is a big no no.

Posted
Have you checked the VISRETAIN and XREFOVERRIDE system variables? Have you tried unloading the Xrefs to see if the problem persists? How are you accessing the materials?

 

The VISRETAIN is set to zero. And XREFOVERRIDE doesn't exsist :/ Removing the XREFs helps, so they are the problem, but they (there are 2) are clean after purging...

Posted

Thank you for sharing the drawings.

 

I looked at all three of the drawings listed above. Of the three it seemed the 5241... drawing had the most items that could be purged including 64 Regapps, 10 materials and 10 plotstyles. All I used was the -PURGE command. Note the presence of the dash which is important as this defines the command line version of Purge. First I purge only Regapps. Then I repeat the command and use the All option. Try it yourself and see if you get the same results as I did.

 

BTW...after you have responded I will delete the copies of your drawings from my hard drive. You may choose to remove the drawings from your post if you wish.

Posted

I have done like you said on all three files, but when i open the "main" file 5241... up again everything that needs purging comes back. :/

Posted

Then I would check the drawings that you are xreffing in.

Posted

I open the 5241 file and there is nothing to purge when running the purge command.

 

Ran my 'clean' lisp routine:

Command: OPSCHONEN

-purge

Enter type of unused objects to purge [blocks/DEtailviewstyles/Dimstyles/Groups/LAyers/LTypes/MAterials/MUltileaderstyles/Plotstyles/SHapes/textSTyles/Mlinestyles/SEctionviewstyles/Tablestyles/Visualstyles/Regapps/Zero-length geometry/Empty text objects/Orphaned data/All]: a Enter name(s) to purge : * Verify each name to be purged? [Yes/No] : n

No unreferenced blocks found.

Deleting layer "DEFPOINTS".

1 layer deleted.

 

No unreferenced linetypes found.

 

No unreferenced text styles found.

 

No unreferenced shape files found.

 

No unreferenced dimension styles found.

 

No unreferenced mlinestyles found.

Deleting plotstyle "ByLayer".

Deleting plotstyle "Full Saturation".

2 plotstyles deleted.

 

No unreferenced table styles found.

 

No unreferenced materials found.

 

No unreferenced visual styles found.

 

No unreferenced multileader styles found.

 

No unreferenced groups found.

 

No unreferenced Detail view styles found.

 

No unreferenced Section view styles found.

 

Command: -purge

Enter type of unused objects to purge [blocks/DEtailviewstyles/Dimstyles/Groups/LAyers/LTypes/MAterials/MUltileaderstyles/Plotstyles/SHapes/textSTyles/Mlinestyles/SEctionviewstyles/Tablestyles/Visualstyles/Regapps/Zero-length geometry/Empty text objects/Orphaned data/All]: z

Command: -purge

Enter type of unused objects to purge [blocks/DEtailviewstyles/Dimstyles/Groups/LAyers/LTypes/MAterials/MUltileaderstyles/Plotstyles/SHapes/textSTyles/Mlinestyles/SEctionviewstyles/Tablestyles/Visualstyles/Regapps/Zero-length geometry/Empty text objects/Orphaned data/All]: r Enter name(s) to purge : * Verify each name to be purged? [Yes/No] : n Deleting registered application "_APP0".

Deleting registered application "ACAD_DSTYLE_DIM_EXT1_LINETYPE".

Deleting registered application "ACAD_DSTYLE_DIM_EXT2_LINETYPE".

Deleting registered application "ACAD_DSTYLE_DIM_LINETYPE".

Deleting registered application "ACAD_DSTYLE_DIMBREAK".

Deleting registered application "ACAD_DSTYLE_DIMEXT_ENABLED".

Deleting registered application "ACAD_DSTYLE_DIMEXT_LENGTH".

Deleting registered application "ACAD_DSTYLE_DIMJAG".

Deleting registered application "ACAD_DSTYLE_DIMJOGGED_JOGANGLE_SYMBOL".

Deleting registered application "ACAD_DSTYLE_DIMTALN".

Deleting registered application "ACAD_DSTYLE_DIMTEXT_FILL".

Deleting registered application "ACAD_EXEMPT_FROM_CAD_STANDARDS".

Deleting registered application "ACAD_MLEADERVER".

Deleting registered application "AcadAnnoPO".

Deleting registered application "AcadAnnotative".

Deleting registered application "AcadAnnotativeAttributeDecomposition".

Deleting registered application "AcadAnnotativeDecomposition".

Deleting registered application "ACAUTHENVIRON".

Deleting registered application "AccuRender3".

Deleting registered application "AcDbAttr".

Deleting registered application "AcMapDMDisplayStyleRegapp".

Deleting registered application "ADCADD_KEYNOTES".

Deleting registered application "ADCADD_MATERIAL".

Deleting registered application "ADCADD_ZZ".

Deleting registered application "ADE".

Deleting registered application "AEC_ADPML".

Deleting registered application "AEC_DISPLAY_THEME_XDATA".

Deleting registered application "AEC_DISPREPCONFIG_DATA".

Deleting registered application "AEC_DISPREPSET_DATA".

Deleting registered application "AEC_DWGVARSSETUP_DATA".

Deleting registered application "AEC_KEYNOTE_INFO".

Deleting registered application "AEC_MEMBER_OBJECT_AUTOTRIM_XDATA".

Deleting registered application "AEC_OBJVER_INFO".

Deleting registered application "AEC_SCHEDULEDATA_FORMULA_SAMPLES".

Deleting registered application "AEC_TEXTNOTE_DATA".

Deleting registered application "AEC_URLDATA".

Deleting registered application "AECB_HALOED_LINE_OUTLINE_EDGE_LIMIT".

Deleting registered application "AECB_OSNAP_MEP".

Deleting registered application "AECBASE".

Deleting registered application "AeccLand80".

Deleting registered application "AeccUiMgr".

Deleting registered application "AeccUiModel".

Deleting registered application "AeccUiQTO".

Deleting registered application "AeccUiQTOEntityPayItemData".

Deleting registered application "AeccUiQTOFreqUsedPayItemsList".

Deleting registered application "AeccUiQTOPayItemCategoryFilePath".

Deleting registered application "AeccUiQTOPayItemFilePath".

Deleting registered application "AeccUiQTOPayItemFormulaExpression".

Deleting registered application "AeccUiQTOPayItemFormulaFilePath".

Deleting registered application "AeccUiQTOPayItemFormulaParameters".

Deleting registered application "AeccUiQTOPayItemSpecBookVersionFloridaDOT".

Deleting registered application "AeccUiQTOTransportDesignerFileFloridaDOT".

Deleting registered application "AVE_ENTITY_MATERIAL".

Deleting registered application "AVE_FINISH".

Deleting registered application "AVE_GLOBAL".

Deleting registered application "AVE_MATERIAL".

Deleting registered application "AVE_RENDER".

Deleting registered application "DCO15".

Deleting registered application "GradientColor1ACI".

Deleting registered application "GradientColor2ACI".

Deleting registered application "MAGI".

Deleting registered application "ManulPointsAssociative".

Deleting registered application "MapGWS".

Deleting registered application "PalladioXData".

Deleting registered application "PE_URL".

Deleting registered application "REVIT".

Deleting registered application "SDSK_PMN".

67 registered applications deleted.

 

Command: audit

Fix any errors detected? [Yes/No] : y

 

 

Auditing Header

 

 

Auditing Tables

 

 

Auditing Entities Pass 1

 

Pass 1 1500 objects audited

Auditing Entities Pass 2

 

Pass 2 1500 objects audited

Auditing Blocks

 

21 Blocks audited

 

 

 

Auditing AcDsRecords

 

 

Total errors found 0 fixed 0

 

Erased 0 objects

 

 

Command: -purge

Enter type of unused objects to purge [blocks/DEtailviewstyles/Dimstyles/Groups/LAyers/LTypes/MAterials/MUltileaderstyles/Plotstyles/SHapes/textSTyles/Mlinestyles/SEctionviewstyles/Tablestyles/Visualstyles/Regapps/Zero-length geometry/Empty text objects/Orphaned data/All]: a Enter name(s) to purge : * Verify each name to be purged? [Yes/No] : n

No unreferenced blocks found.

 

No unreferenced layers found.

 

No unreferenced linetypes found.

 

No unreferenced text styles found.

 

No unreferenced shape files found.

 

No unreferenced dimension styles found.

 

No unreferenced mlinestyles found.

 

No unreferenced plotstyles found.

 

No unreferenced table styles found.

 

No unreferenced materials found.

 

No unreferenced visual styles found.

 

No unreferenced multileader styles found.

 

No unreferenced groups found.

 

No unreferenced Detail view styles found.

 

No unreferenced Section view styles found.

 

Command:

 

And what ReMark below me says :). -purge gives some options that are not available in the visual interface.

Posted

Maybe you missed the part where I recommended running the -PURGE command and the two options Regapps and All (in the order I specified)?

Posted
Haha. I know i know, the drawings i work on have some quite sensitive information. So sharing outside the company is a big no no.

 

Whenever you are not allowed to share a drawing, simply erase everything out of it and share it.

Then you are not sharing anything sensitive.

 

Oh, wait, you say after you erase everything, then you can purge the things you want to purge?

Then you have your answer, something you erased is referencing the item(s) you are trying to purge.

Posted
Maybe you missed the part where I recommended running the -PURGE command and the two options Regapps and All (in the order I specified)?

 

I did just like you said... and still get things to purge when opening again. Could it be something to do with the profile settings?

Posted
Whenever you are not allowed to share a drawing, simply erase everything out of it and share it.

Then you are not sharing anything sensitive.

 

Oh, wait, you say after you erase everything, then you can purge the things you want to purge?

Then you have your answer, something you erased is referencing the item(s) you are trying to purge.

 

I am not erasing anything, just purging. :)

Posted
I did just like you said... and still get things to purge when opening again. Could it be something to do with the profile settings?

This comment was in response to OMEGA's post and not directed at you.

 

However, my response (see post #11) was directed at you. Not sure how you missed it.

Posted
Then I would check the drawings that you are xreffing in.

 

I did the same -purge like you suggested to both of the xreffed files. :/

Posted

Well the entities are being brought into the drawing in some manner; they don't just appear by magic. Perhaps it is via a nested block.

Posted
Well the entities are being brought into the drawing in some manner; they don't just appear by magic. Perhaps it is via a nested block.

 

Sure feels like magic! Is there an easy way to find nested blocks? I have not created the blocks used in the drawing myself, they are part of an AutoCAD add on thay the customer had made.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...