Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 67020

Re: Change pipe diamter before create using api

$
0
0

Hi,

 

the diameter is a parameter of the pipe. Sample :

 

 

double dblnewValue = 0.328084; //Value for 100mm

using (Transaction trans = new Transaction(doc))
 {
   trans.Start("modify Diameter");

    _pipe.get_Parameter(BuiltInParameter.RBS_PIPE_DIAMETER_PARAM).Set(dblnewValue);

     trans.Commit();

 }

 

Smiley Wink

 


Viewing all articles
Browse latest Browse all 67020


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>