Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object can only be in a single Group #2

Open
5axes opened this issue Mar 20, 2023 · 1 comment
Open

Object can only be in a single Group #2

5axes opened this issue Mar 20, 2023 · 1 comment
Labels
bug Something isn't working HotFix Must be solved with a Hight Priority

Comments

@5axes
Copy link
Owner

5axes commented Mar 20, 2023

Issue with Annotation Plane .. As soon as I try to open a Datum Reference I have this message.

14:43:18 Traceback (most recent call last):
14:43:18 File "C:\Users----\AppData\Roaming\FreeCAD\Mod\GDT.\GDT.py", line 1606, in createObject
14:43:18 makeDatumSystem(datumNAme, obj, None, None)
14:43:18 File "C:\Users----\AppData\Roaming\FreeCAD\Mod\GDT.\GDT.py", line 989, in makeDatumSystem
14:43:18 group.addObject(obj)
14:43:18 RuntimeError: {'sclassname': 'class Base::RuntimeError', 'sErrMsg': 'Object can only be in a single Group', 'sfile': '', 'iline': 0, 'sfunction': '', 'swhat': 'Object can only be in a single Group', 'btranslatable': False, 'breported': False}

@5axes 5axes added bug Something isn't working HotFix Must be solved with a Hight Priority labels Mar 23, 2023
@5axes
Copy link
Owner Author

5axes commented Mar 24, 2023

I understood a little bit better the origin of the problem but for the moment I can't solve the problem. I cheated by using a try: to avoid having the error but it is still there. From what I could understand between the time when the WB was written and the current version the management of hierarchies has changed and I think that when the author had written his code this kind of problem did not exist. So to be continued

@5axes 5axes pinned this issue Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working HotFix Must be solved with a Hight Priority
Projects
None yet
Development

No branches or pull requests

1 participant