preCAD Posted June 16, 2017 Share Posted June 16, 2017 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. Quote Link to comment Share on other sites More sharing options...
ReMark Posted June 16, 2017 Share Posted June 16, 2017 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. Quote Link to comment Share on other sites More sharing options...
preCAD Posted June 16, 2017 Author Share Posted June 16, 2017 Sorry i am not allowed to share a copy of the drawing file due to customer constraints. :/ Quote Link to comment Share on other sites More sharing options...
CyberAngel Posted June 16, 2017 Share Posted June 16, 2017 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? Quote Link to comment Share on other sites More sharing options...
ReMark Posted June 16, 2017 Share Posted June 16, 2017 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. Quote Link to comment Share on other sites More sharing options...
preCAD Posted June 16, 2017 Author Share Posted June 16, 2017 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. Quote Link to comment Share on other sites More sharing options...
preCAD Posted June 16, 2017 Author Share Posted June 16, 2017 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... Quote Link to comment Share on other sites More sharing options...
preCAD Posted June 20, 2017 Author Share Posted June 20, 2017 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. So i have talked with "the powers that be" and they have ok'd it. Here are the files involved, plus a pdf of the finished drawing. Hope you can help. 5241-0550-0004.dwg B458702-990-P003.dwg A458702-400-P003.dwg 5241-0550-0004.pdf Quote Link to comment Share on other sites More sharing options...
ReMark Posted June 20, 2017 Share Posted June 20, 2017 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. Quote Link to comment Share on other sites More sharing options...
preCAD Posted June 20, 2017 Author Share Posted June 20, 2017 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. :/ Quote Link to comment Share on other sites More sharing options...
ReMark Posted June 20, 2017 Share Posted June 20, 2017 Then I would check the drawings that you are xreffing in. Quote Link to comment Share on other sites More sharing options...
OMEGA-ThundeR Posted June 20, 2017 Share Posted June 20, 2017 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. Quote Link to comment Share on other sites More sharing options...
ReMark Posted June 20, 2017 Share Posted June 20, 2017 Maybe you missed the part where I recommended running the -PURGE command and the two options Regapps and All (in the order I specified)? Quote Link to comment Share on other sites More sharing options...
rkmcswain Posted June 20, 2017 Share Posted June 20, 2017 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. Quote Link to comment Share on other sites More sharing options...
preCAD Posted June 20, 2017 Author Share Posted June 20, 2017 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? Quote Link to comment Share on other sites More sharing options...
preCAD Posted June 20, 2017 Author Share Posted June 20, 2017 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. Quote Link to comment Share on other sites More sharing options...
ReMark Posted June 20, 2017 Share Posted June 20, 2017 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. Quote Link to comment Share on other sites More sharing options...
preCAD Posted June 20, 2017 Author Share Posted June 20, 2017 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. :/ Quote Link to comment Share on other sites More sharing options...
ReMark Posted June 20, 2017 Share Posted June 20, 2017 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. Quote Link to comment Share on other sites More sharing options...
preCAD Posted June 20, 2017 Author Share Posted June 20, 2017 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.