Create Advanced Entity Sets through Scripting

To be more specific in entity sets, dynamic entity sets can be created in the Library through scripts.

Select Library from the Navigation panel. 

Click on the green plus button to create a new entity set.

Add a name for the new entity set.

Click on the P# Editor button on the right side of the screen to view and edit the script.

The script is already started and ready for editing.

As you start typing a function, the potential scripts will show. In this example, we are going to select EntitiesByCondition

After selecting the function, type ("

Now all potential options for that function populate. In this example, scroll down the list and choose autodca fit oil.

Notice you'll get some errors because this example requires a value for the autodca fit code oil signal selected has to exist in the workspace. In this case, we are looking for entities with an autodca fit code oil value greater than 0.

Enter: in " " > 0

Now you will see a list of entities fitting this condition.

Click Save

The entity set will then be available throughout the workspace.