RtBaseline_EditAttributeValue
The RtBaseline_EditAttributeValue method/function allows editing a value over an element attribute, either inside or outside of the AFCase. Inside the AFCase, it also creates the result and the adjustment.
Web Method Synopsis (C# Syntax)
public bool RtBaseline\_EditAttributeValue(
string sAFElementPath,
string sAFAttribute,
string sAFAnalysisPath,
DateTime dTimValue,
string sNewValue
string sCreastor'
string sNote);
Output Result
BOOL® Returns a TRUE/FALSE flag, indicating whether the action was performed with error (FALSE) or without error (TRUE).
Input Parameters
sAFElementPath (STRING) ® The AFElement PATH that must exist in the following format: \\Server\Database\Element. If only the element name is passed, the web service tries to look up the element in the configured default SERVER and DATABASE configured in the machine that is running the Web Services.
sAFAttribute (STRING) ® The AF Attribute name.
sAFAnalysisPath (STRING) ® The Sigmafine AFAnalysis path. Specify the Sigmafine path according to the model configuration with the following format: \\Server\Database\Model\AFAnalysis.
dTimValue (DATETIME) ® The time of the write action. If the analysis has been specified, it contains the AFCase start time.
sNewValue (STRING) ® The new value to be written to the value.
IMPORTANT NOTE: Do not pass the value with the UOM. The value must reflect the exact type of the attribute. This function forces a type-casting from string to the type of the AFAttribnute specified in the sAFAttribute parameter.
sCreator (STRING) ® The UserName or the alias for the modifier (only inside the case for AFAdjustment creation).
sNote (STRING) ® The modification note for the edit (only inside the case for AFAdjustment creation).