Hi all.
Is there a way to get the BOM out of Pro by using jlink. I can almost do it by getting all the parts
or getting all the parts in an assembly
however, I just want the 1st level parts in each assembly. The second code example will get EVERY part under the assembly, including parts in other assemblies.
Any help?
Thanks,
Dave
Is there a way to get the BOM out of Pro by using jlink. I can almost do it by getting all the parts
Code:
sessionObject.ListModels()
or getting all the parts in an assembly
Code:
sessionObject.ListModelsByType(ModelType.MDL_ASSEMBLY);
//and loop through all the assemblies to get each feature by type
assemblyObject.ListFeaturesByType(Boolean.FALSE, FeatureType.FEATTYPE_COMPONENT )
however, I just want the 1st level parts in each assembly. The second code example will get EVERY part under the assembly, including parts in other assemblies.
Any help?
Thanks,
Dave