Message 1 of 2
replaceReference using Python?
Not applicable
03-07-2012
05:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
does anyone know How to replaceReference using python code?
It seems to use file command loadReference option,
but I can't figure out How to give a file name to replace.
here is the destination of the flag;
----------------------------------------
loadReference(lr) string
This flag loads a file and associates it with the passed reference node. If the reference node does not exist, the command will fail. If the file is already loaded, then this flag will reload the same file.
If a file is not given, the command will load (or reload) the last used reference file.
---------------------------------------
リプレイスリファレンスするスクリプトをpythonで
書くやり方をご存知の方、教えてください。
cmds.file( loadReference='refRN' )
これだと、リプレイスされないのですが、リプレイスするファイルを指定するには
どういう風に記述すればいいのでしょうか・・・???
宜しくお願いします。
thank you
does anyone know How to replaceReference using python code?
It seems to use file command loadReference option,
but I can't figure out How to give a file name to replace.
here is the destination of the flag;
----------------------------------------
loadReference(lr) string
This flag loads a file and associates it with the passed reference node. If the reference node does not exist, the command will fail. If the file is already loaded, then this flag will reload the same file.
If a file is not given, the command will load (or reload) the last used reference file.
---------------------------------------
リプレイスリファレンスするスクリプトをpythonで
書くやり方をご存知の方、教えてください。
cmds.file( loadReference='refRN' )
これだと、リプレイスされないのですが、リプレイスするファイルを指定するには
どういう風に記述すればいいのでしょうか・・・???
宜しくお願いします。
thank you