From: makeyunbad [makeyunbad@gmail.com] Sent: 19 Октомври 2005 г. 14:42 To: mbmproject@mbmproject.com Subject: data extraction modules I'm reading the code. I need more time to understand. I have the idea about data extraction. We have designed two modules which are about the structure and the component for data extraction. I have sent the modules to you(). Please check it. Module example: import KcsStructure import KcsComponent Struc = KcsStructure.Structure(YourStructureName) Comp = KcsComponent.Component('BED') Then, you can use it as the following to get data: num = S.NPart compnames = S.CompNames types = S.Types weight = S.Weight Descr = Comp.Desc Type = Comp.Type GenType = Comp.GenType I think it is easy to use and to understand. I'm not familiar with your code, and I haven't created the environment to run it, so I haven't modified the code.