FindAttribute not working

Forums: 

When using TNaming_NamedShape and FindAttribute to get the attribute from a label, I cannot get the shape stored in that attribute, the return is None. Is there anyone who has the same problem with me?

Dmitrii Pasukhin's picture

Hello, this situation is fully normal. It means, that you make some wrong actions while setting this attributes.

There can be problem only with algorithms. Python call C++ code directly.

Can you share a some more details? And why you do not use ShapeTool for these purposes?

Best regards, Dmitrii.