Linked object property filled by conf. table.

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
User avatar
Kuzma30
Posts: 163
Joined: Wed Oct 24, 2018 11:50 am
Location: Ukraine

Linked object property filled by conf. table.

Post by Kuzma30 »

The situation is such that I need to change in the assembly, the body to which Link refers in accordance with the configuration table.
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)
File with my try is here/
Attachments
HGxx_temp.FCStd
(104.08 KiB) Downloaded 19 times
RealThunder's A3 Wiki translation, join the project https://crowdin.com/project/freecad-asm3-wiki
Post Reply