A combo of the mel
Also see:
copyAEWindow
& showEditor
global procs, which lives in this script:C:\Program Files\Autodesk\Maya20XX\scripts\others\showEditor.mel
string $sel[] = `ls -sl`; showEditor $sel[0]; copyAEWindow;This will display an Attribute Editor docked in the main panel, then pop a dupe off.
Also see: