SectionProperty as Dimension lable failed

SectionProperty as Dimension lable failed

net.k.kiselev
Contributor Contributor
343 Views
0 Replies
Message 1 of 1

SectionProperty as Dimension lable failed

net.k.kiselev
Contributor
Contributor

Hello i want assign some parameters as dimension label. It's work fine for common parameters i use:

dim.FamilyLabel = param;

But if parameter type is SectionProperty, its approach invoke this exception:
Autodesk.Revit.Exceptions.ArgumentException: The parameter's ParameterType is not the correct type for this dimension.

But manually i can use such parameters as label. Maybe Revit API have another approach for such parameters?

0 Likes
344 Views
0 Replies
Replies (0)