Jtok
October 6, 2025, 12:09pm
1
Hi all
This macro for calc quantity all component count (in all assembly and subassembly of current assembly) and write count value in User defined Custom Property part or assembly.
User can export list in Notepad or Excel
Components Count EN v0.8.zip (118.6 KB)
2 Likes
mme
October 6, 2025, 12:57pm
2
Hi, Jtok.
This macro has a strange behavior. Every time I use it, a message appears asking me to save the macro as edited. Any ideas?
Jtok
October 6, 2025, 1:10pm
3
Maybe you open vba macroeditor and change something when work with this macro?
And name of macro “Component_count_EN.swp”, not “Component_count.swp“
This may happen once when the macro replaces the referenced libraries with the correct SW version in the references.
Anyway, macro do not modify self.
Does this macro works differently than what @josh had made several years ago? https://forum.solidworks.com/thread/50568
josh
October 6, 2025, 2:59pm
5
Nope… It’s @artem 's code.