TheSwamp
CAD Forums => Vertically Challenged => Architecturally Speaking => Topic started by: Guest on March 04, 2008, 04:40:21 PM
-
I've got a rather simple 3D plan. It started off as a 2MB file, but after playing around with some materials and light settings (I have a total of 8 materials and 16 lights - 4 of which are "turned off") and I have a geographic location set, it has ballooned to just over 48MB!! Is there anything I can do to deflate this drawing? I tried wblocking to a new file with little success (a few megs were removed). Anyone have any ideas?
-
Did you make the materials procedurally, or are they mostly images mapped to the objects as materials? Could be that the images are large file sizes and are bloating the drawing. I suggest you remove all materials and purge and see if it doesn't lose that bloated look.
-
I simply dragged/dropped the materials from the content browser and changed the color of one of the materials. I didn't create anything from scratch - they're all out of the box materials.
-
Given the crazy file size, it would be difficult for you to send or post a copy. Did removing the materials, and lights decrease the file size?
-
Doing a diagnostic count (http://www.theswamp.org/index.php?topic=9433.msg121330#msg121330) may reveal the nature of the obesity.
-
MP, I think the file might also contain a bunch of *unnamed* blocks, as they also tend to fatten up a file.
-
True that, and counts (http://www.theswamp.org/index.php?topic=9433.msg121330#msg121330) will include them too. :)
-
Here's what came back...
Command: COUNTS
Blocks.Count = 93
*Model_Space.Count = 204
*Paper_Space.Count = 0
_ArchTick.Count = 1
_Open90.Count = 3
_Small.Count = 1
AecRight.Count = 2
Aecb_Othr_Rnd_1Line_Elbow_Drop_Edge.Count = 2
Aecb_Othr_Rnd_1Line_Tee_Drop_Edge.Count = 3
Aecb_Othr_Rnd_2Line_Drop.Count = 3
Aecb_Othr_Rnd_2Line_Rise.Count = 3
Aecb_Othr_Rnd_2Line_Rise_Edge.Count = 3
Aecb_Othr_Rnd_Clin.Count = 2
*U10.Count = 27
*U11.Count = 29
*U12.Count = 60
*U13.Count = 66
*U14.Count = 25
*U15.Count = 25
*U16.Count = 1
*U17.Count = 4
*U18.Count = 27
*U19.Count = 29
*U20.Count = 65
*U21.Count = 71
*U22.Count = 20
*U23.Count = 20
*U24.Count = 1
*U25.Count = 4
*U26.Count = 31
*U27.Count = 29
*U28.Count = 65
*U29.Count = 67
*U30.Count = 20
*U31.Count = 23
*U32.Count = 1
*U33.Count = 4
*U34.Count = 31
*U35.Count = 29
*U36.Count = 71
*U37.Count = 74
*U38.Count = 20
*U39.Count = 23
*U40.Count = 1
*U41.Count = 4
SectionBubbleDef.Count = 6
*U43.Count = 3
*U44.Count = 32
*U45.Count = 1
*U46.Count = 1
*U47.Count = 1
*U48.Count = 1
*U49.Count = 27
*U50.Count = 29
*U51.Count = 64
*U52.Count = 67
*U53.Count = 20
*U54.Count = 20
*U55.Count = 1
*U56.Count = 4
*U57.Count = 2
*U58.Count = 66
*U59.Count = 1
*U60.Count = 1
*U61.Count = 1
*U62.Count = 1
ladder.Count = 10
_ClosedFilled.Count = 1
Aecb_TickmarkSymbol_Line.Count = 1
_ClosedBlank.Count = 3
Aecb_Duct_Oval_1Line_Supp_Elbow_Drop_Edge.Count = 8
Aecb_Duct_Oval_1Line_Supp_Tee_Drop_Edge.Count = 9
Aecb_Duct_Oval_2Line_Supp_Drop.Count = 6
Aecb_Duct_Oval_2Line_Supp_Rise.Count = 6
Aecb_Duct_Oval_2Line_Supp_Rise_Edge.Count = 6
Aecb_Duct_Rect_1Line_Supp_Elbow_Drop_Edge.Count = 8
Aecb_Duct_Rect_1Line_Supp_Tee_Drop_Edge.Count = 9
Aecb_Duct_Rect_2Line_Supp_Drop.Count = 2
Aecb_Duct_Rect_2Line_Supp_Rise.Count = 2
Aecb_Duct_Rect_2Line_Supp_Rise_Edge.Count = 6
Aecb_Duct_Rnd_1Line_Supp_Elbow_Drop_Edge.Count = 4
Aecb_Duct_Rnd_1Line_Supp_Tee_Drop_Edge.Count = 5
Aecb_Duct_Rnd_2Line_Supp_Drop.Count = 3
Aecb_Duct_Rnd_2Line_Supp_Rise.Count = 3
Aecb_Duct_Rnd_2Line_Supp_Rise_Edge.Count = 3
Aecb_Othr_Rect_1Line_Elbow_Drop_Edge.Count = 6
Aecb_Othr_Rect_1Line_Tee_Drop_Edge.Count = 7
Aecb_Othr_Rect_2Line_Drop.Count = 2
Aecb_Othr_Rect_2Line_Rise.Count = 2
Aecb_Othr_Rect_2Line_Rise_Edge.Count = 6
Aecb_Othr_Rnd_1Line_Rise_Edge.Count = 1
*U148.Count = 11
*U149.Count = 14
_AEC_GRIPS_NONE.Count = 0
Dictionaries.Count = 102
ACAD_BACKGROUND.Count = 7
ACAD_COLOR.Count = 0
Groups.Count = 0
Layouts.Count = 2
Nameless, Handle=10.Count = 11
ACAD_MLEADERSTYLE.Count = 1
ACAD_MLINESTYLE.Count = 2
PlotConfigurations.Count = 0
ACAD_PLOTSTYLENAME.Count = 6
Nameless, Handle=2D41 has no <Count> property.
ACAD_RENDER_ENTRIES.Count = 1
Nameless, Handle=2D44 has no <Count> property.
ACAD_SCALELIST.Count = 24
ACAD_TABLESTYLE.Count = 1
ACAD_VISUALSTYLE.Count = 16
AcAec.Count = 1
ACDB_RECOMPOSE_DATA has no <Count> property.
AcDbVariableDictionary.Count = 8
AEC_2D_SECTION_STYLES.Count = 1
AEC_CLASSIFICATION_SYSTEM_DEFS.Count = 5
AEC_CLEANUP_GROUP_DEFS.Count = 1
AEC_CURTAIN_WALL_LAYOUT_STYLES.Count = 1
AEC_CURTAIN_WALL_UNIT_STYLES.Count = 1
AEC_DIM_STYLES.Count = 1
AEC_DISP_REP_CONFIGURATIONS.Count = 16
AEC_DISP_REP_SETS.Count = 40
AEC_DISP_REPS.Count = 443
AEC_DISPLAY_PROPS_DEFAULTS.Count = 660
AEC_DISPLAYTHEME_STYLES.Count = 1
AEC_DOOR_STYLES.Count = 1
AEC_ENDCAP_STYLES.Count = 1
AEC_ISOLATED_OBJECTS.Count = 1
AEC_LAYERKEY_STYLES.Count = 1
AEC_LIST_DEFINITIONS.Count = 1
AEC_MASKBLOCK_DEFS.Count = 0
AEC_MASS_ELEM_STYLES.Count = 1
AEC_MATERIAL_DEFS.Count = 4
AEC_MVBLOCK_DEFS.Count = 1
AEC_OPENING_ENDCAP_STYLES.Count = 2
AEC_POLYGON_STYLES.Count = 1
AEC_PROFILE_DEFS.Count = 0
AEC_PROPERTY_FORMAT_DEFS.Count = 2
AEC_PROPERTY_SET_DEFS.Count = 4
AEC_RAILING_STYLES.Count = 1
AEC_ROOFSLAB_STYLES.Count = 1
AEC_ROOFSLABEDGE_STYLES.Count = 1
AEC_SCHEDULE_TABLE_STYLES.Count = 0
AEC_SLAB_STYLES.Count = 2
AEC_SLABEDGE_STYLES.Count = 1
AEC_SPACE_MODIFIERS.Count = 0
AEC_SPACE_STYLES.Count = 1
AEC_STAIR_STYLES.Count = 1
AEC_STAIR_WINDER_STYLES.Count = 0
AEC_STAIR_WINDER_TYPES.Count = 3
AEC_STRUCTURALMEMBER_STYLES.Count = 1
AEC_VARS.Count = 7
AEC_WALL_STYLES.Count = 2
AEC_WALLMOD_STYLES.Count = 1
AEC_WINDOW_ASSEMBLY_STYLES.Count = 1
AEC_WINDOW_STYLES.Count = 1
AEC_ZONE_DEFS.Count = 1
AEC_ZONE_STYLES.Count = 1
AECB_CABLETARY_RISEDROP_STYLES.Count = 1
AECB_CABLETRAY_PARTCATPREF_STYLES.Count = 1
AECB_CIRCUITS.Count = 3
AECB_CONDUIT_PARTCATPREF_STYLES.Count = 1
AECB_CONDUIT_RISEDROP_STYLES.Count = 1
AECB_CONNECTOR_STYLES.Count = 4
AECB_DEMAND_FACTOR_STYLES.Count = 2
AECB_DEVICE_STYLES.Count = 0
AECB_DUCT_PARTCATPREF_STYLES.Count = 1
AECB_DUCT_RISEDROP_STYLES.Count = 1
AECB_DUCTCUSTOMFITTING_STYLES.Count = 0
AECB_DUCTSYSTEMDEFS.Count = 1
AECB_ELECSYSTEMDEFS.Count = 1
AECB_FITTINGDEFS.Count = 9
AECB_FIXTUREUNITTABLEDEFS.Count = 1
AECB_LABELCURVE_STYLES.Count = 5
AECB_MVPART_STYLES.Count = 7
AECB_PANEL_STYLES.Count = 0
AECB_PIPE_PARTCATPREF_STYLES.Count = 1
AECB_PIPE_PARTROUTINGPREFERENCES_STYLES.Count = 2
AECB_PIPE_RISEDROP_STYLES.Count = 1
AECB_PIPE_STYLES.Count = 12
AECB_PIPECUSTOMFITTING_STYLES.Count = 0
AECB_PIPEFITTING_STYLES.Count = 9
AECB_PIPESYSTEMDEFS.Count = 2
AECB_PLUMBING_RISEDROP_STYLES.Count = 1
AECB_PLUMBINGSYSTEMDEFS.Count = 1
AECB_PROFILE_DEFS.Count = 37
AECB_SANITARYPIPETABLEDEFS.Count = 1
AECB_SCHEMATIC_PIPE_STYLES.Count = 1
AECB_SCHEMATIC_STYLES.Count = 1
AECB_SCHEMATICPIPEFITTING_STYLES.Count = 0
AECB_SCHEMATICSYMBOL_STYLES.Count = 0
AECB_SCHEMATICSYSTEMDEFS.Count = 1
AECB_SUPPLYPIPETABLEDEFS.Count = 1
AECB_TAGSDEFS.Count = 1
AECB_VOLTAGEDEFINITIONS.Count = 16
AECB_WIRE_STYLES.Count = 1
AECS_MEMBER_NODE_SHAPE.Count = 1
Nameless, Handle=35D1 has no <Count> property.
DimStyles.Count = 4
Groups.Count = 0
Layers.Count = 38
Layouts.Count = 2
Linetypes.Count = 7
RegisteredApplications.Count = 21
Modelspace.Count = 204
Paperspace.Count = 0
Command:
Comments/suggestions/thoughts?
-
Hi Matt. The only thing that looks comparatively large are the two dictionaries, "AEC_DISP_REPS" and "AEC_DISPLAY_PROPS_DEFAULTS", with counts of 443 and 660 respectively.
I write this blind, hope it works --
(foreach dictname '( "AEC_DISP_REPS" "AEC_DISPLAY_PROPS_DEFAULTS" )
(vlax-dump-object
(setq object
(vla-item
(setq dict
(vla-item
(vla-get-dictionaries
(vla-get-activedocument
(vlax-get-acad-object)
)
)
dictname
)
)
(1- (vla-get-count dict))
)
)
)
(mapcar 'print
(entget
(vlax-vla-object->ename object)
'("*")
)
)
(princ "\n\n======================\n")
(princ)
)
It will show you properties and dxf data the last entry for both dictionaries so you can determine if they are the likely culprits (size wise).
Sorry that's all I've time for.