Is it possible to store the current Items in the Outliner as well as the new Items too?
def main():
setupRenderGlobals()
importItems()
frameViewport()
global app
app=QtGui.qApp
global form
form = MainWindow()
form.show()
Eg. Current Items in Outliner (except the default items, eg. camera): ['pCube1', 'pCube2', 'pSphere1']
Then importing.adding in of new items: ['pCube1', 'pCube2', 'pSphere1', 'Man_Rig01', 'pShere2']
Could someone guide me how to write out a way that I can differentiate the new Items? Currently my import window (using of an in-house module which is the importItems() ) keeps popping up the prefix window (MainWindow()) when I hit close/ whether or not I import in any items. Thus I wanted to write it in a way where the prefix window will only pop up when new items are added.
Message to close voters: This question is not unclear to Maya users. There are answers waiting to be posted, but the question needs to be re-opened first.