AnsweredAssumed Answered

AFValue does not contain a definition of SetAnnotation()

Question asked by BillD on Dec 12, 2017
Latest reply on Dec 12, 2017 by BillD

upgraded to the 2017 rev 1 version of the AFSDK.  Due to change of architecture, I ended up with several errors which is expected.  However, I am having some issues with SetAnnotation.  Here is how I used to do it.

 

AFValue baseline = new AFValue();

baseline.Value = baselineSubmittalData.Baseline;

baseline.Timestamp = new AFTime(baselineSubmittalData.BaselineStartDate.Value);

baseline.SetAnnotation(annotations);

elementToUpdate.Attributes[attributeNames.AFAttributeNames.Baseline].Data.UpdateValue(baseline, AFUpdateOption.Replace, AFBufferOption.DoNotBuffer);

 

I have seen the examples; but they don't work cause I can't find SetAnnotation().  Any help is appreciated.

Outcomes