As the error message says, you have already defined one Flange that you are trying to add again in the line 22.
Try to find that old one and remove it or if you want to modify the old one, you'll have to put the name of the component before the type (FLAN) in line.
Hard to explain clearly, please ask if you didn't understand.
Yes you are right, when adding a new component you need to put type before name.
I think the problem in here is that you can't have two flanges with same bore and subtype (STYP) in one spec. Try to put something else to STYP and I think it will work.
yes, I think you are right, same thing a friend told me about Stype. He said to put something like this: text 'flwn-test' for example. I will do it tomorrow at work and keep you on touch. I'm sure that was the problem. Thank you very much