Dynamo scripts - change model groups type


I have been writing a dynamo script for a few weeks now. With the script, I want to select an individual model group and modify it to another type of model group. To my knowledge, this is not possible with a “Dynamo note”. Would anyone know how I could solve this with a dynamo custom code script or with a revit api script? And is it possible to change the current model type to another one by using images?

Thanks in advance!


Hi @467600 and welcome, using Orchid package or OOTB nodes: