I have created a script that applies a 3D Ortho view to all Assemblies. I have created a script that creates a .DWG file from those 3D Ortho views. I would like to create a filter for the Assembly Instances that DO NOT have a 3D Ortho view to avoid doubling up on those views. As the .DWG file script is ran it will double up on processing time for multiple views of the same type, also eliminating any processing time for Assemblies that already have a 3D Ortho view.
I have a list of all Assemblies and I have a list of Assemblies with 3D Ortho view. I would need some help to figure out how filter out the lists to get a list of Assembly Instance Assembly Instances that DO NOT have a 3D Ortho view. I have tried Lacing with Cross Product but the data set it creates is so large I don’t know how to handle it.
Use the node List.Contains instead of the String.Contains node. Just make sure the item input is set to list level 1, this will result in a list containing booleans.
I believe what we are trying to create is a bool with the same number of items in the of the element list. I have done something very similar in another script with Code Block " ", but with that the variables are pretty standard so I was able to make a " " list of items.
If we can make my new list similar to the Code Block we might have something.
I will try this approach, I can see this working for my needs as well. I will definitely give this a shot when I get back after the holiday. Will get back to you and @Daan with my discovery