When i change the attributes of two or more components at the same time in the “Component Options” a few formulas are getting erased.
When “Largura” and “Profundidade” are replaced by 30 and 50, “Peso” and “Nome” lost its formulas.
It only loses when more than one component is selected.
Lost formula.skp (185.3 KB)
Is there a way to not lose the formulas when selecting more then one component?
you’re allowing entry on the forumla field which will overwrite it. one good practice is to separate entry fields and formula fields. this avoid the potential for overwriting the formula and also allows for flexible re-use of the entry field content in other formulas.
1 Like
The attributes “Largura” and “Profundidade” are not the same in the “Components Attributes” window, its represented as “Perfil_Largura” and “Perfil_Profundidade”.
ah, ok. i was going by the display names vs what their attribute name is behind the UI. otherwsie i don’t see any reason for the formulas being erased.
same, i don’t see it either.
But it only erases when i select more than one component, thats what’s bothering me.
and they’re the same dynamic component i.e. a child component one (ctrl-D, copy/paste etc)? or each is a fresh one pulled from the component list?
They’re the same.
I pulled one from the component list and the others 2 in the picture are copies (Move + Ctrl)
.
what happens if each is a fresh one from the component list?
can you share the component?
Sure.
Lost formula.skp (697.2 KB)
so… i played with it, copied the component into a new model, all the same behaviours. weird. i wonder if you do a few things to eliminate possible combinations causing this “bug”.
- remove the IFC
- reset the measurement types to “as defined in model” vs “cm” or “mm”
just wondering if the combination of measurement in “centimeters” and the forced display as “millimeters” is some combination tricking things.
Just tried ur suggestion and it still erasing the formulas.
maybe build a new fresh component in a new fresh model and see if it still happens. i’d just copy and paste the formulas - open a separate instance of SU so you’re not risking something crossing between the models unless it’s purely copy and paste.
I just spoke with a Trimble manager and he said that this is a common error, its is not possible to change two components at the same time.
But i appriciate you for trying to help me. Thank you!
1 Like
weird though. i have a number of framing DC (wall, floor, ceiling, door, window) i use all the time and often set 5 or 6 of them at the same time for height, lumber depth, stud/joist framing etc. now the apply button then sets them all to their respective settings and roughly the same overall width etc but then i go and use those as the basis for the rest of the work and have never seen the attributes formulas get overwritten…
then again, i just updated 2024 and haven’t used those DC yet… will do so today.