I am using module setup script to add new attributes group, attribute set and attributes. I am able to create attribute set, attribute group and add products to group/set. B
Use 'visible_on_front' => 1, in addAttribute call.
'visible_on_front' => 1
addAttribute