Filename filters aren't limited to OS changes, you can write whatever
Python in there, and it will be applied to all filenames.
On 10 Jun 2015 17:18, "Simon Björk" <si...@bjorkvisuals.com> wrote:

> Thanks for your replies. I should have clarified in the original post that
> I'm not moving the script to a different OS, just to a different folder
> structure.
>
> Honestly I don't really see the point of the warning dialog.
>
> That being said, moving Alembic files to a different folder structure is
> even worse as it resets the scene view. In that case the only workaround I
> have found is to create a new node and copy the knob values.
>
>
>
>
>
>
>
> -------------------------------
> Simon Björk
> Compositor/TD
>
> +46 (0)70-2859503
> www.bjorkvisuals.com
>
> 2015-06-10 10:39 GMT+02:00 Frank Harrison <fr...@thefoundry.co.uk>:
>
>> Sounds like you might be able to use Nuke's path-remapping settings:
>>
>>
>> http://help.thefoundry.co.uk/nuke/9.0/#appendices/appendixa/available_preferences_studio.html?Highlight=path%20Substitutions
>>
>>
>> On 10 June 2015 at 01:54, Erwan Leroy <er...@erwanleroy.com> wrote:
>>
>>> If it's solely to migrate the script to a different system, I would
>>> probably try to handle that with a filenamefilter if a simple setValue
>>> doesn't do the trick.
>>> Also if you're loading in the same camera, it shouldn't change anything
>>> if you do destroy the animation, as it will reload the same. Unless you
>>> modified it, in which case you probably want to turn read from file off.
>>>  On 10 Jun 2015 02:19, "Jake Richards" <tru...@blueskystudios.com>
>>> wrote:
>>>
>>>> I'd be interested to know this as well.  The closest I can get is to
>>>> hide the properties panel and then update the knobs, but the camera doesn't
>>>> re-read the new file.  I've tried executing the reload button and also
>>>> deleting any animation on the other knobs first but can't get it to update
>>>> without the prompt.
>>>>
>>>> Jake
>>>>
>>>>
>>>> ------------------------------
>>>>
>>>> *From: *"Simon Björk" <si...@bjorkvisuals.com>
>>>> *To: *"Nuke Python discussion" <nuke-python@support.thefoundry.co.uk>
>>>> *Sent: *Tuesday, June 9, 2015 9:13:59 AM
>>>> *Subject: *[Nuke-python] Updating file paths for cameras/axis
>>>>
>>>> Is there a way to update the file path of a camera without getting the
>>>> "Destroy animation" dialog?
>>>>
>>>> I know I can create a new camera with nuke.createNode('Camera', 'file
>>>> {%s}'% path), but I only need to update the file path (moving to a
>>>> different system). I guess I could create a new node and reconnect/copy
>>>> knob values but it seems there should be a better way.
>>>>
>>>>
>>>> -------------------------------
>>>> Simon Björk
>>>> Compositor/TD
>>>>
>>>> +46 (0)70-2859503
>>>> www.bjorkvisuals.com
>>>>
>>>> _______________________________________________
>>>> Nuke-python mailing list
>>>> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
>>>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Nuke-python mailing list
>>>> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
>>>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>>>>
>>>>
>>> _______________________________________________
>>> Nuke-python mailing list
>>> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
>>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>>>
>>>
>>
>>
>> --
>> Frank Harrison
>> Senior Nuke Software Engineer
>> The Foundry
>> Tel: +44 (0)20 7968 6828 - Fax: +44 (0)20 7930 8906
>> Web: www.thefoundry.co.uk
>> Email: frank.harri...@thefoundry.co.uk
>>
>> _______________________________________________
>> Nuke-python mailing list
>> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>>
>>
>
> _______________________________________________
> Nuke-python mailing list
> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to