Graph not changing mark in group

I got group of structural columns and I’ve made graph that numbers it’s marks in each phase from 1-n


In this example all elements in phase C1 are sorted/grouped by family and type and then by L and then numbered.

The graph works and shows the desired result in final outputs:


Yet it refuses to actually modify the elements’ marks. It just shows that it’s done but if I manually change any field in this schedule it will not change it back when running the graph.
It works on all other phases, even if changed manually it will change them back.
This is the only phase where elements are in group. Others are not.

When changing the marks manually on the group I get message “group was changed outside of edit mode. The change is being allowed because there is only one instance of the type”.

I had previous problems with changing things in a group. How do I make the graph work on grouped elements as well?

@1bitBoolean ,

did you take in mind that you change a type Parameter or instance?

you have to use Element.Type → setParameterByName (s. similar)

KR

Andreas

I use element.setParameterByName.
It worked on other projects, works on this one too perfectly. Just chokes up for all elements that have been grouped in revit. The parameter I am changing is “mark” and it’s string.

@1bitBoolean ,

how is your parameter set ?

KR

Andreas


Also I was mistaken it’s not “mark” it’s “Nr.”

@1bitBoolean ,

you have to set the Parameter that you can set values of instances in groups.

KR

Andreas

1 Like

Thank you very much it works now! Previously I had tried to ungroup and regroup in graph but that is very complicated. This is very helpful!

1 Like