Book a Demo

Author Topic: copy or move elements from one package to another  (Read 2891 times)

blue5teel

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
copy or move elements from one package to another
« on: January 20, 2009, 12:30:07 am »
Hello,

are there any commands in the automation interface to copy or move elments from one package to another?

thx in advance
« Last Edit: January 20, 2009, 12:43:22 am by blue5teel »

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: copy or move elements from one package to anot
« Reply #1 on: January 20, 2009, 07:27:26 am »
Try setting the PackageID of the element to that of the (new) target package. Note that this is different than setting the ParentID property. They are right next to each other in the documentation, so it is easy to miss either one.
No, you can't have it!

blue5teel

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: copy or move elements from one package to anot
« Reply #2 on: January 21, 2009, 07:12:51 pm »
Thx, this works for me  :)

But is it even possible to COPY elements, diagrams and packages ?
The solution above just moves objects the objects between packages.
« Last Edit: January 23, 2009, 08:50:28 pm by blue5teel »