How to edit IndependentTag.TagText's default?
Hello guys,
I am trying to bring the values from Parameters to tag on the View of Plans.
The sample code(Code Region 16-5: Creating an IndependentTag: https://help.autodesk.com/cloudhelp/2018/ENU/Revit-API/Revit_API_Developers_Guide/Revit_Geometric_El...) gives me the good example, however, I'm trying to implement on Pipe. In that case, the TagText's value is set up by Size as a default.
I am trying to edit the value for Parameter.Set("Hello"), and TagText isn't changed but the value of Parameter on Properties has changed.
PipeType type = (e as Pipe).PipeType;
Parameter foundParameter_01 = type.LookupParameter("Type Size");
bool result = foundParameter_01.Set(value + "Hello");
IndependentTag newTag = IndependentTag.Create(doc, doc.ActiveView.Id, reference, true, tagMode, tagorn, xyzMid);
Do you guys have any idea to tag the value I'd like to insert?