Hello fella's,
I've been looking into making a macro for 1 specific task, but i'mfinding myself in need of some advice.
To sketch my situation :
I've got 1 assembly, containing several (3-4) subassemblies. Thesesubassemblies each contain vareous parts.
These parts (and only the parts) all have 1 thing in common. Theyall have a custom property called "bomcode" (meaning Bill Of Material code).
What i'm trying to do is to grab the value of the custom property "bomcode" of each part (unsuppressed and visible), and writethese away in an txt file , 1 line at a time.
What i mean with unsuppressed and visible :
Like any other BOM-table would, only list the parts that aren'tsuppressed.
There are no fancy configurations envolved.
Here is a simplified example of my current layout :

This txt file shows what i'm trying to retrieve; (the lines in thetxt file represent the custom property value)

Hoping on some good advice,
yours
Bert
SolidworksApi macros
I've been looking into making a macro for 1 specific task, but i'mfinding myself in need of some advice.
To sketch my situation :
I've got 1 assembly, containing several (3-4) subassemblies. Thesesubassemblies each contain vareous parts.
These parts (and only the parts) all have 1 thing in common. Theyall have a custom property called "bomcode" (meaning Bill Of Material code).
What i'm trying to do is to grab the value of the custom property "bomcode" of each part (unsuppressed and visible), and writethese away in an txt file , 1 line at a time.
What i mean with unsuppressed and visible :
Like any other BOM-table would, only list the parts that aren'tsuppressed.
There are no fancy configurations envolved.
Here is a simplified example of my current layout :

This txt file shows what i'm trying to retrieve; (the lines in thetxt file represent the custom property value)

Hoping on some good advice,
yours
Bert
SolidworksApi macros