CR_STUDS stands for cripple studs (the short little studs above and below openings. The first entry in the array is just a test variable and you can ignore it (ie. delete it when processing the array). I have left it there for now but eventually will probably remove it after the Medeek Estimator is a bit more mature.
The Sheathing, Cladding and Gypsum is pretty self explanatory. The first value is the net area and the second value is the gross (or total) area of the wall.
With regards to window headers, trimmer studs and king studs I use a slightly different method (at least for now, I may change my method in future).
You will notice that within the medeek_wall_param5 library there will be a listing for each window, door, garage door. Within each array for each opening is stored a number of variables that define the opening, from this info you can determine all of the specs on the king, trimmer and headers for a window opening:
Win_geom, Win_loc, Win_width, Win_height, Win_header, Win_headerhgt, Win_sill_num, Win_king_num, Win_trimmer_num, Win_sill_trimmers, Win_ro_offset, Advwinoptions, Win_arch_radius, Win_king_width, Win_trimmer_width, Win_buh, Win_trimmer_extend, Win_pitch, Win_dir
Doors and garage doors are similar. So far no one has asked me about the attribute libraries so I have not published what all of these entries mean but I can push that information out as required. Basically all of the data in the attribute libraries is what defines the wall in its entirety. The meta data is what allows me to regen a wall from scratch. The actually model/group/wall assembly is merely a physical manifestation of this data found in the attribute libraries.
P.S. Note that the naming convention of windows follows a simple pattern (ie. window1, window2, etc…) The sub-group within the wall group also have the corresponding instance name. This comes in handy if you actually need to run some additional ruby on the sub-group after the fact. I actually do this for windows and doors when analyzing and creating the stats for gable, shed and hip walls.