API Revit change formula in shedule

API Revit change formula in shedule

Anonymous
Not applicable
383 Views
1 Reply
Message 1 of 2

API Revit change formula in shedule

Anonymous
Not applicable
Hello! 
Please help me with my problems.
1. How can I change the "calculated value" parameter in the formula in the shedule, is it possible using the Revit API? 2. How can I change the parameter type from "Number" to "Currency" using the Revit API, is this possible?
Thank you!
0 Likes
384 Views
1 Reply
Reply (1)
Message 2 of 2

jeremy_tammik
Alumni
Alumni

1. Search this forum for "schedule formula".

 

2. You cannot modify the data type of an existing parameter. That would corrupt the model and all existing parameter values. One alternative is to create a new parameter of the desired type and populate all occurrences  of the old parameter with the new one.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes