Add Prefix and Suffix to Dimension

Hi Guys,

Good day, is there a way to add prefix or suffix to dimension?

Thanks

Hi Joel, That is the Type Prefix parameter.

The instance ones (where you double click on the dim text) are instance properties not parameters.

RiR-Dim-Prefix-Suffix.gh (7.5 KB)

Similar to your override text value question earlier, this works on a single dimension, not a string (per the remarks)

“This property is for use with single-segmment dimensions only. For multi-segment dimensions use the corresponding properties of the DimensionSegment class.”

Thank you Japhy, kind regards.

Hi Japhy,

Can we do this one as well to Revit text? adding prefix or suffix? thanks

Hi @Joel_Ocampo

would something like this work for you? You can use the concatenate component to create suffixes or prefixes for Revit texts.

Add suffix_01.gh (7.6 KB)

Thank you Fernando, is the graphic element is the Revit text being selected and the context of it added this suffix?

Thanks

Does it have to be Text? A Generic Annotation can have Prefix or Suffix, or you can add an additional label as Prefix/Suffix.

Yes Japhy, it is the Revit Note text that l would like to add a prefix or suffix not a Revit family, thanks.