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

Unable to create Pack: AttributeError: 'NoneType' object has no attribute 'addObject' #3

Open
bosd opened this issue Aug 16, 2022 · 0 comments

Comments

@bosd
Copy link

bosd commented Aug 16, 2022

Using freecad 0.20
I'm unable to create a pack.
After seleccting a cell, filling the parameters I get this error.

22:50:50 Traceback (most recent call last):
22:50:50 File "/home/user/.var/app/org.freecadweb.FreeCAD/data/FreeCAD/Mod/battery_pack/batteryPackDialog.py", line 79, in createPack
22:50:50 self.part = App.activeDocument().addObject('App::Part',generate_freecad_name())
22:50:50 AttributeError: 'NoneType' object has no attribute 'addObject'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant