Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84549members
353810posts

[Imported] Identifying used objects in a group for system clean ups or distribution.

EcoStruxure Geo SCADA Expert Forum

Find out how SCADA systems and networks, like EcoStruxure Geo SCADA Expert, help industrial organizations maintaining efficiency, processing data for smarter decision making with IoT, RTU and PLC devices.

Solved
sbeadle
Janeway Janeway
Janeway
0 Likes
1
413

[Imported] Identifying used objects in a group for system clean ups or distribution.

>>Message imported from previous forum - Category:Scripts and Tips<<
User: ROVSCADAENGINEER, originally posted: 2019-02-05 22:39:02 Id:360
Lets say I want to delete a bunch of groups. But I need to first determine that the group does not contain any objects that are being used in the group or referenced by templates. I am guessing the only way to do this would be to run an object search with that group parent folder name and then apply a filter of sorts.

It seems that when you check references on the system of groups it does not return any even when there are objects in that group which are being referenced. This is due to the direct reference of that group as the object itself yes?


Accepted Solutions
sbeadle
Janeway Janeway
Janeway
0 Likes
0
412

Re: [Imported] Identifying used objects in a group for system clean ups or distribution.

>>Responses imported from previous forum


Reply From User: geoffpatton, posted: 2019-02-06 15:40:09
The only thing I have gotten to work is to select a group press delete and see what reference warnings it has.
If you have scripts that could be referencing things in that group you have to check those on your own.
The reference functionality is not able to read/edit the scripts.
Same thing applies if you move something, all references are updated except in scripts.


Reply From User: tfranklin, posted: 2019-02-06 18:19:31
You could probably take advantage of the References method in the automation interface and do some pairing up with the result set. Have a process run and get the reference count for each object and then use the results in conjunction with the full path to build some form of a hierarchy to output and visualize.

Once you get a list of all objects, how many, and what references it you can get pretty clever with how to use the data. Ex: Make a giant ugly "web" chart or whatever they're called where you see each object as a node and doodle a line to connect it to all objects that it references.


Reply From User: ROVSCADAENGINEER, posted: 2019-02-07 03:36:33
as always excellent methods guys. cheers!

See Answer In Context

1 Reply 1
sbeadle
Janeway Janeway
Janeway
0 Likes
0
413

Re: [Imported] Identifying used objects in a group for system clean ups or distribution.

>>Responses imported from previous forum


Reply From User: geoffpatton, posted: 2019-02-06 15:40:09
The only thing I have gotten to work is to select a group press delete and see what reference warnings it has.
If you have scripts that could be referencing things in that group you have to check those on your own.
The reference functionality is not able to read/edit the scripts.
Same thing applies if you move something, all references are updated except in scripts.


Reply From User: tfranklin, posted: 2019-02-06 18:19:31
You could probably take advantage of the References method in the automation interface and do some pairing up with the result set. Have a process run and get the reference count for each object and then use the results in conjunction with the full path to build some form of a hierarchy to output and visualize.

Once you get a list of all objects, how many, and what references it you can get pretty clever with how to use the data. Ex: Make a giant ugly "web" chart or whatever they're called where you see each object as a node and doodle a line to connect it to all objects that it references.


Reply From User: ROVSCADAENGINEER, posted: 2019-02-07 03:36:33
as always excellent methods guys. cheers!