Filters Created by Dynamo Using Worksets Looses Rules if Not Viewed

I’m getting a really strange behavior with a script I use for project startup. The script creates worksets based on which discipline is using the model and then create two filters that use some of those worksets. There is one for demolished elements and another for elements in callouts. Here is the weird thing:

Scenario 1:

  1. New from Template
  2. Save
  3. Turn on collaboration
  4. Run script
  5. Open filter menu and check filters. They look correct.
  6. Save as central
  7. Close
  8. Open as new local
  9. Filters are ok.

Scenario 2:

  1. New from Template
  2. Save
  3. Turn on collaboration
  4. Run script
  5. DO NOT open filter menu.
  6. Save as central
  7. Close
  8. Open as new local
  9. Filters are lacking rules.

I’ve done both several times now and it seems like I need to open the filter menu in order for them to actually get saved correctly. I have no idea if this has something to do with Dynamo, but since I’m using it I’d thought I’d better try posting it here.

Anyone know what could be causing this? I’m still running into it.

Hi,

Can you tells u more about the script? Did you use python code or Custom Nodes?

Can you share the script so people can help by trying a few things?