Hi Plant Simulation community.
I'm kind of new in this software and I came across a singularity.
Inside a method, I need to generate an Attribute to a MU so I can "send" it somewhere else after the upper codelines were already executed, so I create this attribute somewhere near the end of my method, but the next time the cycle starts, it will try again to create an Attribute to that entity (see image attached), how can I get to know if the property already exists before creating it?
Any ideas on the code I should use?
Thanks for reading this!
Solved! Go to Solution.