MEL duplicateReference return value?
<p>I found this on the script called with right click on outliner -> reference -> duplicate, and found the original script.</p>

<p>I select a referenced item in my scene.</p>

<p>Then, I do:
string $test = <code>duplicateReference 0 " "</code>;</p>

<p>It doesn't return the new reference. How do I get the new item created on the outliner from this command?</p>

<p>It doesn't have any reference on Python or MEL, if you look for it.</p>