Question
List all components from assembly using API
i all,
I would like to list out all the parts in assembly (including parts from sub assemblies) using VB API.I face problem in the following line
compath = (New CMpfcAssembly).CreateComponentPath(assembly, currentlevel)
currentComponent = compath.Leaf
when I use this code I could not get the path of current component, it always refers to toplevel assembly.
Throw some light on this

