collection or list into 'My data' collection

 
Parents
  • For custom collection name, see the macro code:
    import 'MyDataAddin'
    handle any
    endhandle
    using namespace 'Aveva.Pdms.Presentation.MyDataAddin'
    !myData = object PMLMYDATA()
    -- Create Data Collection Storage
    !myData.addCollection('MyDataCollection')
    -- Add Elements to MyData Collection
    !myData.addElementsToCollection(!equiname, 'MyDataCollection')


    Good that you've got the solution..!
Reply
  • For custom collection name, see the macro code:
    import 'MyDataAddin'
    handle any
    endhandle
    using namespace 'Aveva.Pdms.Presentation.MyDataAddin'
    !myData = object PMLMYDATA()
    -- Create Data Collection Storage
    !myData.addCollection('MyDataCollection')
    -- Add Elements to MyData Collection
    !myData.addElementsToCollection(!equiname, 'MyDataCollection')


    Good that you've got the solution..!
Children
No Data