I didn't test, but it looked reasonable:
Category wall = doc.Settings.Categories.get_Item(BuiltInCategory.OST_Walls); Category door = doc.Settings.Categories.get_Item(BuiltInCategory.OST_Doors); CategorySet cats1 = app.Create.NewCategorySet(); cats1.Insert(wall); cats1.Insert(door); TypeBinding binding = app.Create.NewTypeBinding(cats1);
And with the code in the BuildingCoder, you can find out if you can do that.
I also found this one here. Maybe it helps.
http://spiderinnet.typepad.com/blog/2011/05/parameter-of-revit-api-31-create-project-parameter.html
Christian