Macro for Bill of Materials is not reading assembly name
Macro for Bill of Materials is not reading assembly name
(OP)
I have a macro that traverses an assembly to generate a customized Bill of Materials. I'm still in the testing phases, and I've run the macro on many different SW assemblies with no problem, but there is one small assembly that is giving me a problem.
For some reason, the macro is not grabbing the component name of the assembly itself, though it does find the component names for the sub-assemblies and every other part thereafter.
What I'm trying to understand is, what could be different about this assembly that could cause this to happen? I'm not very experienced in SW and I'm hoping there are some obvious things that I could check for?
For some reason, the macro is not grabbing the component name of the assembly itself, though it does find the component names for the sub-assemblies and every other part thereafter.
What I'm trying to understand is, what could be different about this assembly that could cause this to happen? I'm not very experienced in SW and I'm hoping there are some obvious things that I could check for?






RE: Macro for Bill of Materials is not reading assembly name
Number of characters in the pathname?
RE: Macro for Bill of Materials is not reading assembly name
On a side note, where can I change the name of the assembly? I noticed that on sub-assy's and parts, I just right-click and select "Component Properties" to change those component names, but that menu option is not available for the top-level assembly. So where is that done? Do I just have to change the filename, and the assy name will change? Or is that done somewhere else?
RE: Macro for Bill of Materials is not reading assembly name
Chris
SolidWorks 06 5.1/PDMWorks 06
AutoCAD 06
ctopher's home (updated 10-27-06)
RE: Macro for Bill of Materials is not reading assembly name
You are going to at least post your code if not the assembly itself. Bugs like this are not easily diagnosed by just describing the problem.
SA