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

Re: Can calculated value's formula be retrieved from a ScheduleField ?

$
0
0

You need to get the parameter and and then you can read the formula:

 

string formula = param1.Formula;

or set it, like:

 

famdoc.FamilyManager.SetFormula(param1, "IF(Width>Depth,Width,Depth)");

Hope this helps.

 

Christian


Viewing all articles
Browse latest Browse all 67020

Trending Articles



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