peliosis Posted April 6, 2006 Share Posted April 6, 2006 How to delete multiple channels from a node or many nodes at the same time? I created referenced copies of plenty of sops and now if I want to delete the originals I'd have to delete channels one by one, which I'm not eager to do at all Quote Link to comment Share on other sites More sharing options...
TheUsualAlex Posted April 6, 2006 Share Posted April 6, 2006 How to delete multiple channels from a node or many nodes at the same time?I created referenced copies of plenty of sops and now if I want to delete the originals I'd have to delete channels one by one, which I'm not eager to do at all 26328[/snapback] Hello, Couldn't you have selecte all the nodes you want your channel deleted, then go to that channel, RMB and select "Delete Selected Channel"? Does this not work? Quote Link to comment Share on other sites More sharing options...
peliosis Posted April 6, 2006 Author Share Posted April 6, 2006 Hello,Couldn't you have selecte all the nodes you want your channel deleted, then go to that channel, RMB and select "Delete Selected Channel"? Does this not work? 26330[/snapback] um? if the nodes are the same, ok, but they are different, say I want to select some nodes and delete all channels from them. If there are 1000 channels to be deleted, going to each of them could be tedious. Quote Link to comment Share on other sites More sharing options...
TheUsualAlex Posted April 6, 2006 Share Posted April 6, 2006 um?if the nodes are the same, ok, but they are different, say I want to select some nodes and delete all channels from them. If there are 1000 channels to be deleted, going to each of them could be tedious. 26332[/snapback] Oooh oops. I was under the assumption that the nodes are all the same. You'd probably have to write an hscript that would perhaps find out which of your selected nodes contain expressions you want to delete, if you want to delete the expression string (which this approach would mean more work). Otherwise, you should be able to find out the the selected node, then clear the expression by channel name. In this case, it should be pretty easy. Select all the nodes that you want to have its channel deleted. Then, in Textport, cd into the object that that contain all the nodes with channel you wanted to remove. Then type the following: set origPath = `oppwd()` foreach cow (`opselect($origPath)`) chrm ${origPath}/${cow}/CHANNEL_NAME end Replace CHANNEL_NAME with the channel that you wanted to remove. Anyways, I think this should work... haven't really tested it... take care Alex Quote Link to comment Share on other sites More sharing options...
edward Posted April 7, 2006 Share Posted April 7, 2006 I thought there was a chrm? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.