Good day, I am trying to assign a value to a shared parameter of type reinforcement length but I do not know why I can not apply it, I have considered it of the Double type but I do not get any modification.
foreach (Rebar r in rebar)
{
Parameter ParQC_RebarLength = Parameter(r, "8acbe253-9336-4934-925d-7e2dff0be89d");
Double LongPieza=0;
ParQC_RebarLength.Set(LongPieza);
}
public Parameter Parameter(Element e, String guid)
{
Guid parameterShared = new Guid(guid);
Parameter parameter = e.get_Parameter(parameterShared);
return parameter;
}