- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, I am trying to create a dimension with 2 segments which both would be equal to each other. The code snippet below looks to work fine, but it does not change equality label as it is in the image below:
public void CreateDim (ReferenceArray ratop) { XYZ pt1top = new XYZ(0, 0, (h + 500) / 304.8); XYZ pt2top = new XYZ(10, 0, (h + 500) / 304.8); Line dimline1 = Line.CreateBound(pt1top, pt2top); Dimension dimTop = RvtDoc.revdoc.FamilyCreate.NewLinearDimension(RvtDoc.revdoc.ActiveView, dimline1, ratop); Parameter p = dimTop.get_Parameter(BuiltInParameter.DIM_DISPLAY_EQ); p.Set(1); }
Solved! Go to Solution.
Link copied