Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.

Project data & BIM
About BIM-based management of attributes, schedules, templates, favorites, hotlinks, projects in general, quality assurance, etc.

Module files

Tom Krowka
Enthusiast
I have selected several drawing elements and saved them as a module. When I open the module, I see have all the layers, layer combinations, etc. of the drawing I saved it out of.

Is there I way I can save a stripped down version of that module that will have only the layers of the elements that I saved, and the layer combination that was used at the time?

That way when I insert it into a different drawing, it won't bring all the extra layers with it.
Tom Krowka Architect
Windows 11, AC Version 26
Thomas@wkarchwk.com
www.walshkrowka.com
15 REPLIES 15
TomWaltz
Participant
Tom

this is weird, but technically, you do. The Module always shows the project attributes (layers, line types, composites, etc) of the last file you were in. The only ones that actually exist in the .MOD file are the ones that are used.

If you are doing "Save selection as Module" then you should only see layers created if something is actually on that layer in the module. If you are not, I'm not sure why. I've never seen a problem with that before.
Tom Waltz
Tom Krowka
Enthusiast
Tom:

I'm pretty sure that is what is going on. There is a check box in the save dialgoue box when saving the module. I'm really not too sure what it's asking me to do. Should it be checked on or off. It says something about hotlinking to a saved file?
Tom Krowka Architect
Windows 11, AC Version 26
Thomas@wkarchwk.com
www.walshkrowka.com
Anonymous
Not applicable
Tom wrote:
I have selected several drawing elements and saved them as a module. When I open the module, I see have all the layers, layer combinations, etc. of the drawing I saved it out of.

Is there I way I can save a stripped down version of that module that will have only the layers of the elements that I saved, and the layer combination that was used at the time?

That way when I insert it into a different drawing, it won't bring all the extra layers with it.
In my experience modules have only ever contained the used attributes. I have never heard of modules carrying layer combination attributes.

You say that you "open" the module? Do you mean insert or merge? Or are you opening a blank document to place the module into? This would retains all the latest file's attributes. The only other thing I can think of is that you are merging a PLN, which will contain all those attributes.
TomWaltz
Participant
Tom

what the checkbox is asking is whether or not you want to replace the elements you currently have selected with the new Module you have created, or if you want to keep them as individual elements.
Tom Waltz
Tom Krowka
Enthusiast
When I say "open" I open the module drawing just like a typical .pln drawing. I need to make a few adjustments to the module, then save it again as a .mod file. Maybe that's where all the extra layers are coming from. If so, then all those layers show up on the drawing (.pln) that I merge the module into.

Do I need some kind of default empty file to open the .mod file to work on it.....or something like that?

I know for sure that the items I selected to create the module had no more than 5 layers, yet when I open the .mod file (see above) there's a bunch of layers that were on the original drawing.
Tom Krowka Architect
Windows 11, AC Version 26
Thomas@wkarchwk.com
www.walshkrowka.com
TomWaltz
Participant
When I say "open" I open the module drawing just like a typical .pln drawing. I need to make a few adjustments to the module, then save it again as a .mod file. Maybe that's where all the extra layers are coming from. If so, then all those layers show up on the drawing (.pln) that I merge the module into.

Do I need some kind of default empty file to open the .mod file to work on it.....or something like that?

I know for sure that the items I selected to create the module had no more than 5 layers, yet when I open the .mod file (see above) there's a bunch of layers that were on the original drawing.
Tom

That's correct, when you open the MOD file, you will see a lot more layers than are actually stored in the MOD file (which I think is a bug in and of itself). If those layers are being imported into the file the MOD is placed into, then it's another bug. That should not be happening.
Tom Waltz
Tom Krowka
Enthusiast
I guess the only thing I can do is delete the unused layers in the .mod file. That drawing also has all the pens, materials, walls, everything. That makes the file size pretty big, which seems to be a contradiction to what a module should do.

Maybe I'm expecting it work the same as a block in Autocad, which I used to use. The operation to save is the same, but the file size would be tiny in comparison to the drawing, like 10kb.
Tom Krowka Architect
Windows 11, AC Version 26
Thomas@wkarchwk.com
www.walshkrowka.com
TomWaltz
Participant
In all honesty, our office switched to using PLN files for hotlinks, because we felt MOD files were too unpredictable.

We have one PLN with many stories, and place what would have been a single MOD file on each story. A whole folder full of MOD files is now all in one PLN.

The performance diffference was minimal, and the end result was far more predictable.

The only downside is that instead of using the "Save selection as module" commands, you have to cut/paste from one file to the other, then create a new hotlink yourself.
Tom Waltz
Anonymous
Not applicable
To make the story even stranger...

I created a module, then opened the module in a new instance of ArchiCAD. It had all kinds of extra layer, fill, linetype, etc information in it, so I purged everything that I knew was unused -- which was everything except 3 layers because the drawing is all 2D.

Now the strange part: BEFORE I purged the module it's size was 9.64K, AFTER the purge its size changed to 10.6K. What the.....?