Jump to content

Sharing Components


Philip

Recommended Posts

HI

Just wondered, is it possible to share components between asset versions?

I'm pretty sure I was doing this and it was working, however, I'm noticing now that its not working and I'm questioning my a sanity as to whether it ever was.

If I create a Component (unmanaged location) on a AssetVersion all is good, but if I try to add the same Component to another AssetVersion, it simply transfers it.

 

sourceAssetVersion = session.get("AssetVersion","cf0e384c-606d-4bc1-9fdd-b7983562bc32")
destAssetVersion = session.get("AssetVersion","d9fdddf7-d27d-45ec-8bfb-1c95ecf97afa")

destAssetVersion['components'].append(sourceAssetVersion['components'][0])

session.commit()

Is this normal behaviour?

thanks

Phil

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...