Swahn
05-24-2007, 07:53 AM
Hello, is it possible to point a delete command to specific input nodes on an object?
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 :)
Thanks.
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 :)
Thanks.
