Message 1 of 3
Getting String value from ReferencePanel
Not applicable
10-20-2008
08:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I'm trying to write a script to duplicate reference from selected file from Reference Panel.
ls -sl doesn't work in this case as the selection is not of maya object.
I tried doing it manually and check on the "echo commands". It's written :
duplicateReference 1 $gReferenceEditorPanel
After further checks, I believe duplicateReference is a procedure written inside the Reference Panel
as it becomes an invalid command once the editor is closed. But I can't seem to find the MEL of it.
$gReferenceEditorPanel is a string that contains the file(s) selected inside the Panel.
Is there a way for me to find out what's the command inside the string?
I'm not sure I've explained myself well, but any help is greatly welcomed.
Thanks alot.
I'm trying to write a script to duplicate reference from selected file from Reference Panel.
ls -sl doesn't work in this case as the selection is not of maya object.
I tried doing it manually and check on the "echo commands". It's written :
duplicateReference 1 $gReferenceEditorPanel
After further checks, I believe duplicateReference is a procedure written inside the Reference Panel
as it becomes an invalid command once the editor is closed. But I can't seem to find the MEL of it.
$gReferenceEditorPanel is a string that contains the file(s) selected inside the Panel.
Is there a way for me to find out what's the command inside the string?
I'm not sure I've explained myself well, but any help is greatly welcomed.
Thanks alot.