Well, you can add a new attribute to it set in magento using something like the following:
$entitySetup = new Mage_Eav_Model_Entity_Setup;
$entitySetup->addAttributeSet('catalog_product', $setName);
But how can I set a set in an existing set, as by default. This option is available in the administrator section, so it can be used.
source
share