Help! Custom Properties Dependency Loop

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
Vasten
Posts: 23
Joined: Wed May 18, 2022 9:00 pm

Help! Custom Properties Dependency Loop

Post by Vasten »

I am creating a Part

I add custom properties and give them values

But I cant reference those values within the part

And if i try to force it, i get dependency loop errors

I was able to force spreadsheets to fetch the value from the parent property value
But it seemed to cause some buggy behaviour

How do I define a custom peroperty valy in Part?
then pass that value down to the bodies and sketches within that part?
Vasten
Posts: 23
Joined: Wed May 18, 2022 9:00 pm

Re: Help! Custom Properties Dependency Loop

Post by Vasten »

Nevermind
I fgured it out

Just needed the href() function
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Help! Custom Properties Dependency Loop

Post by adrianinsaval »

Vasten wrote: Thu May 19, 2022 4:45 am Nevermind
I fgured it out

Just needed the href() function
be careful when using href because if you have an actual loop it won't be detected, safer way would be to use a property container inside the part, have a look at dynamic data addon.
Post Reply