Skip to main content
Archived

Select everything that's connected

Related products:FME Form
  • October 4, 2017
  • 4 replies
  • 62 views

Forum|alt.badge.img

I have an extremely large model for which I need a way to (First:) automatically identify and select any transformers that are connected to a writer that I already have selected. (Second:), I need a way to "Switch the Selection" so that everything else gets selected. Once I'm at that point, I can choose to disable those selected objects. Then I run my model to publish ONLY my original selected feature type.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

rylanatsafe
Safer
Forum|alt.badge.img+14
  • Safer
  • October 4, 2017

Hi @steveg374 - What a cool idea! I'm wondering if you are using FME 2016.1 or Newer? There is a new "transformer" called Junction. You can right-click the Output Port of the Reader and select "Insert Junction" – then you will only have to disable the one Junction object, instead of worrying to select items downstream.

Now, this may not exactly address your concern but I hope it helps!

(Note: After reading over your posting again – did I misinterpret? Did you want to select the Reader, the first lot of transformers, but disable everything else?)

'


Forum|alt.badge.img
  • Author
  • October 5, 2017

I'm using FME 2017. I didn't know about the Junction transformer, and I can see how it's useful; but unfortunately I don't think it helps me with this particular problem. I'll try and explain it a little better:

My main model has well over 200 Readers, 200 Writers, and over 3000 Transformers. As it stands now, if I only needed to re-publish 1 specific Writer and I don't have time to wait for the entire model to run (which takes 2.5 hours), then I have to (1) select every object in my model, (2) spend a lot of time backtracking (from the Writer that I want to re-publish) in my model to determine which specific 'upstream' Readers AND Transformers contribute to the Writer that I need to re-publish - and unselect those as I encounter each one, (3) Disable everything that remains selected, and (4) run the model and hope that I didn't miss something.

So...in my mind, here are the steps that I would take if I could: (1) select only the Writer(s) that I need to re-publish, (2) ask FME to select any/all 'upstream' Transformers AND Readers that contribute to re-publishing my selected Writer(s), and (3) disable every other object that doesn't get selected by my step #2 above, (4) then run the model.


rylanatsafe
Safer
Forum|alt.badge.img+14
  • Safer
  • October 6, 2017
@steveg374 - Thank you for providing a deeper illustration! I can't think of a good way to get around this right now.. I can see your argument for support of selecting everything upstream (or downstream) of a particular point.

 


  • October 23, 2017

Sorry I do't have a solution but just wanted to add that, I love this idea! Being able to right-click a reader, writer or transformer and selecting connected objects upstream, downstream or both would be great.I quite often want to select and copy out parts of a workbench for troubleshooting or to re-purpose for a new workbench and sometimes it can take a while to select just the objects and connections I need.