LDraw has an arborescent structure (shortcuts depends on parts made of subparts using primitives, etc) so it is not something easy to do. But what is the point of doing this anyway?
If the purpose is to build models using only parts from one set, LDCad has a great feature to do that, and there is a modified version of Brickutils to help. See http://forums.ldraw.org/showthread.php?t...9#pid15309
If the purpose is to build models using only parts from one set, LDCad has a great feature to do that, and there is a modified version of Brickutils to help. See http://forums.ldraw.org/showthread.php?t...9#pid15309