Book a Demo

Author Topic: Shrinking open package tree  (Read 3921 times)

tzafrir

  • EA User
  • **
  • Posts: 127
  • Karma: +0/-0
    • View Profile
Shrinking open package tree
« on: May 10, 2016, 12:02:11 am »
Hi,

I am doing some manipulation on elements underneath a package which results in opening of the package in the model tree.
Is there a way to collapse the package back to its original closed position in the tree after I am done?
I did not find an API that does that...

Thanks,
Tzafrir

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Shrinking open package tree
« Reply #1 on: May 10, 2016, 12:48:03 am »
You might try RefreshModelView (long PackageID). IIRC this will also collapse the package view.

q.