I am trying to do something on sldprt files from a top level of a big assembly.
Exist an macro to load parts and do specific action on?
current view is the assembly top level
for each part on current assembly
get all parts
load if is "sldprt"
do something about (save it for example)
if is a sub-assembly
Following example would be a good start: 2017 SOLIDWORKS API Help - Traverse Assembly at Component Level Example (VBA)
Thank you it is exactly what I was looking for.
Retrieving data ...