Hi colleagues,
I got some code to get attribut values but have a hard time setting the value. The function SetAttributes() which I would expect seemingly does not exist.
Getting an attribute value is similar to this:
lvElem = pvDoc.ElementSelection.beg.child;
lvAttrs = lvElem.GetAttributes();
for(j=0; j<lvAttrs.len; j++) {
Console(j + ': ' + lvAttrs[j].name + '="' + lvAttrs[j].values[0] + '"');
}
But how does setting an attribute value work?
Thanks,
- Michael