Community
Can't seem to find where to set the actual reference for a reference text... I've drilled down to the specific component but don't see any options
Anyone know how to do this?
foreach (ObjectId parts in mycomponents) { try { LabelStyleComponent mytext = tr.GetObject(parts, OpenMode.ForWrite) as LabelStyleComponent; if (mytext.GetType().ToString() == "Autodesk.Civil.DatabaseServices.Styles.LabelStyleReferenceTextComponent") { LabelStyleReferenceTextComponent fnltext = mytext as LabelStyleReferenceTextComponent; } } catch { }
Solved! Go to Solution.
Solved by Jeff_M. Go to Solution.