schnee kou Thu, 02/09/2023 - 10:32 Forums: pythonOCCWhen 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? Attachments: screenshot-20230209-152907.png screenshot-20230209-152950.png Dmitrii Pasukhin Thu, 02/09/2023 - 20:22 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. Log in to post comments
Thu, 02/09/2023 - 20:22
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.