pub fn import_solidworks_assembly_report(
bytes: &[u8],
resolve: &mut dyn FnMut(&str) -> Option<Vec<u8>>,
) -> Result<ParasolidImportReport, String>Expand description
A SolidWorks assembly’s bodies, each instance’s part read through
resolve (given a file’s base name, its bytes) and placed; sub-assemblies
recursively. Suppressed instances are left out.
A virtual component (an instance of a part kept inside the assembly that
made it, its file named <part>^<assembly>) is read from that assembly’s
VirtualComp/<part> stream, a whole part file, as any part is; a virtual
part that holds no body contributes nothing, and the report names it
(VIRTUAL_PART_WITHOUT_BODY).