Object use parent in expression

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
andi11
Posts: 6
Joined: Mon Nov 22, 2021 9:13 am

Object use parent in expression

Post by andi11 »

Hi,
I have a part, with an custom integer property Hublaenge. In my example "ZylinderZ06-19 PF22 beidseitig"

In this part I have a few parts where i want to use the property of their parent in their expressions.

How can I do that?
For example Grundkoerper001 z coordinate is in pseudocode parent.hublaenge+100

But I want to adress it as "parent" not as Objectxxxx so the dependecy is more clearer in an later state

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24267 (Git)
Build type: Release
Branch: master
Hash: b2ca86d8d72b636011a73394bf9bcdedb3b109b7
Python version: 3.8.8
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: German/Germany (de_DE)
Attachments
Unbenannt.png
Unbenannt.png (26.76 KiB) Viewed 2285 times
Post Reply