Assembly 4 Stopped linking parts

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Routerworks
Posts: 197
Joined: Mon Apr 09, 2018 3:12 pm
Location: Florida

Assembly 4 Stopped linking parts

Post by Routerworks »

After quite a bit of assembly work "Assembly 4" It won't any longer allow me to attach another part. I keep getting the message as shown in the screen shot. Have no idea how to correct this if it is possible.

Thanks in advance for any help.

Routerworks
Assembly 4 screenshot
Assembly 4 screenshot
Screenshot 001.PNG (245.7 KiB) Viewed 3758 times
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Assembly 4 Stopped linking parts

Post by Shalmeneser »

Version ?
Error message in text mode for further research ?
Routerworks
Posts: 197
Joined: Mon Apr 09, 2018 3:12 pm
Location: Florida

Re: Assembly 4 Stopped linking parts

Post by Routerworks »

OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)
Routerworks
Posts: 197
Joined: Mon Apr 09, 2018 3:12 pm
Location: Florida

Re: Assembly 4 Stopped linking parts

Post by Routerworks »

Sorry I didn't understand your second question.

Thank you.
Routerworks
Posts: 197
Joined: Mon Apr 09, 2018 3:12 pm
Location: Florida

Re: Assembly 4 Stopped linking parts

Post by Routerworks »

Does this help. It is a copy of the error message.


'NoneType' object has no attribute 'TypeId'Running the Python command 'Asm4_insertLink' failed:
Traceback (most recent call last):
File "C:\Users\Laurence Salamey\AppData\Roaming\FreeCAD\Mod\Assembly4\insertLinkCmd.py", line 87, in Activated
if parent.TypeId == 'App::Part' and parent.getParentGeoFeatureGroup() is None:

'NoneType' object has no attribute 'TypeId'
Routerworks
Posts: 197
Joined: Mon Apr 09, 2018 3:12 pm
Location: Florida

Assembly 4 Stopped linking parts

Post by Routerworks »

After quite a bit of assembly work "Assembly 4" It won't any longer allow me to attach another part. I keep getting the message as shown in the screen shot. Have no idea how to correct this if it is possible.

Here is the warning:
'NoneType' object has no attribute 'TypeId'Running the Python command 'Asm4_insertLink' failed:
Traceback (most recent call last):
File "C:\Users\Laurence Salamey\AppData\Roaming\FreeCAD\Mod\Assembly4\insertLinkCmd.py", line 87, in Activated
if parent.TypeId == 'App::Part' and parent.getParentGeoFeatureGroup() is None:

'NoneType' object has no attribute 'TypeId'

Thanks in advance for any help.

OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)
Attachments
Screenshot 001.PNG
Screenshot 001.PNG (245.7 KiB) Viewed 3643 times
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: Assembly 4 Stopped linking parts

Post by Zolko »

Routerworks wrote: Sat Nov 27, 2021 5:38 pm File "C:\Users\Laurence Salamey\AppData\Roaming\FreeCAD\Mod\Assembly4\insertLinkCmd.py", line 87, in Activated
if parent.TypeId == 'App::Part' and parent.getParentGeoFeatureGroup() is None:
in order to activate that part of the code, an existing link must be selected. In order to produce that error, that link must be outside of the assembly. Can you clear the selection (click somewhere in an empty space) and try again ?

Anyway, that is a bug that should not happen, I'll correct it
try the Assembly4 workbench for FreCAD — tutorials here and here
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: Assembly 4 Stopped linking parts

Post by Zolko »

Routerworks wrote: Fri Nov 26, 2021 5:32 pm After quite a bit of assembly work "Assembly 4" It won't any longer allow me to attach another part. I keep getting the message as shown in the screen shot.
in your screenshot, the "Insert Link" command is inactive, which is very strange: can you please show the root of the model tree (the top-most part) ?
try the Assembly4 workbench for FreCAD — tutorials here and here
Routerworks
Posts: 197
Joined: Mon Apr 09, 2018 3:12 pm
Location: Florida

Re: Assembly 4 Stopped linking parts

Post by Routerworks »

I tried clicking in open space and it didn't help.
When I click on an assembly body the Link lights up however, if I then click on "Link" I get the error.
Clicking on a part below won't light up the Link icon.

Thanks a lot for your help.
Attachments
Screenshot 003.PNG
Screenshot 003.PNG (295.41 KiB) Viewed 3519 times
Screenshot 002.PNG
Screenshot 002.PNG (302.06 KiB) Viewed 3519 times
Routerworks
Posts: 197
Joined: Mon Apr 09, 2018 3:12 pm
Location: Florida

Re: Assembly 4 Stopped linking parts

Post by Routerworks »

I tried clicking in open space and it didn't help.
When I click on an assembly body the Link lights up however, if I then click on "Link" I get the error.
Clicking on a part below won't light up the Link icon.

Thanks a lot for your help.
Attachments
Screenshot 003.PNG
Screenshot 003.PNG (295.41 KiB) Viewed 3513 times
Screenshot 002.PNG
Screenshot 002.PNG (302.06 KiB) Viewed 3513 times
Post Reply