The thing i need is to check if there are transformGeometry input nodes present in the object and then delete them.
I figured out the easiest way to check the first part is if the object's .rpx/y/z are != than 0 (when freeze transform is applied with flag -apply true) but after that i need to delete all transformGeometry within that selected object. If i use wildcard like ("transformGeometry*") then all the nodes with this string will be deleted. I need to select and delete only the nodes of this string within the selected object.
How can i do this?
I guess this isn't impossible to do with MEL.
If just anyone could help me with this :)