Archi Forum

Archi => General Archi Discussion => Topic started by: lmachnik on September 14, 2022, 08:49:37 AM

Title: Hide/show objects on view (base on properties)
Post by: lmachnik on September 14, 2022, 08:49:37 AM
Hi

Is any possibility in Archi to filter views base on properties? What I want to achive is for instance to have prod and dev components on one view and have posdibility to show only prod. Any ideas?
Title: Re: Hide/show objects on view (base on properties)
Post by: Phil Beauvoir on September 14, 2022, 09:33:43 AM
Hi, no it's not possible to filter Views based on Properties. There is a filter applied when a Viewpoint is changed, but that's no good for your use case. Perhaps other users can advise on workarounds.
Title: Re: Hide/show objects on view (base on properties)
Post by: lmachnik on September 14, 2022, 10:19:24 AM
Thx!

Any ideas Gurus?

LM
Title: Re: Hide/show objects on view (base on properties)
Post by: rchevallier on September 15, 2022, 18:37:27 PM
Not hiding/showing, but a script to colorize elements based on a property value.
Title: Re: Hide/show objects on view (base on properties)
Post by: lmachnik on September 19, 2022, 06:45:03 AM
Thx! It was one of my ideas - will check and let You know.

I know that it is sth simple but maybe Do You have sample script?

Regards

LM
Title: Re: Hide/show objects on view (base on properties)
Post by: rchevallier on September 28, 2022, 09:28:36 AM
I recommend the excellent jarchi script from Steven Mileham:
https://smileham.co.uk/2022/06/15/archi-jarchi-and-rag-status-maps/

Based on his idea, I'm writing an extended version, but it's not ready yet (little time to do it)