Message 1 of 7
Pipe Diameter issue on revit api

Not applicable
03-20-2016
06:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
I got some issue on pipe diameter measurement. After creting pipe, the diameter value that shown in option bar is quite different from the value that i set in c# code (seee in following figure)
here is my revit api code:
Pipe pipe = Pipe.Create(doc, domesticHotWaterSystemType.Id, firstPipeType.Id, level.Id, p0, p1); Parameter parameter = pipe.get_Parameter(BuiltInParameter.RBS_PIPE_DIAMETER_PARAM); parameter.Set(1);
According to the picture, the diameter that measured in display is 305mm but the option always shows 200mm
can u guys enlighten me how to do it? quite noob in revit api.
Best Rgds,
Mr.Naing