What I have tried.
Created a configuration table with 3 options HGR15, HGR20, HGR30. Wrote a logical expression that substitutes the correct name that corresponds to the variant. Brought this line to the form "Body00x (HGRxx)" and tried to insert it as an expression for Linked Object properties.
But it show errors... Any variant to resolve this problem (for me) another way?
Error log
Code: Select all
17:09:54 <Exception> Expect input sequence of size 2
in binding 'LinkedObject'
17:09:54 Recompute failed! Please check report view.
17:09:54 <Exception> solver.py(376)|(0): Expect input sequence of size 2
in binding 'LinkedObject'
17:09:54 Recompute failed! Please check report view.
17:09:54 69.123213 <asm3.main> assembly.py(3918): solver exception when auto recompute
Traceback (most recent call last):
File "<string>", line 535, in _catch
File "/home/alexandr/.FreeCAD/Mod/FreeCAD_assembly3/freecad/asm3/solver.py", line 412, in solve
return _solve(*args,**kargs)
File "/home/alexandr/.FreeCAD/Mod/FreeCAD_assembly3/freecad/asm3/solver.py", line 377, in _solve
raise RuntimeError(
RuntimeError: Failed to recompute (HGxx_temp#Assembly) HGxx#Assembly
Code: Select all
OS: Ubuntu 21.10 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.30923 (Git)
Build type: Release
Branch: LinkDaily
Hash: 2ed36c0a234b3871a790ac8437f496f29e025ded
Python version: 3.9.7
Qt version: 5.15.2
Coin version: 4.0.0
OCC version: 7.6.1
Locale: English/United States (en_US)