Objects to workset using assembly code ( fails with system family(Types))

Updated SOLUTION thanks to the folks who helped in this POST!:
Objects_to_worksets_from_assembly.dyn (41.1 KB)