Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to create a calculated field with a formula in Revit 2017.

10 REPLIES 10
SOLVED
Reply
Message 1 of 11
Anonymous
2442 Views, 10 Replies

How to create a calculated field with a formula in Revit 2017.

How to create a calculated field with a formula in Revit 2017.

I'm going crazy. In many sites indicate that you can not (In versions prior to 2017) But, you can in the 2017 version? Could someone tell you how?

I get continuous errors if I try to create it with:

[ObjScheduleView] .Definition.AddFiel (Fieltype = FieldType.Formula, ParamId)

FieldType.error

An example, please. I need to delete and re-create a Planning Table and you can create and configure all fields except the calculated field that must total one of the existing fields.

Thank you very much.

10 REPLIES 10
Message 2 of 11
jeremytammik
in reply to: Anonymous

Dear Alberto,

 

Thank you for your query.

 

I see an open wish list item in the development database for this functionality: CF-1731 [API wish: add formula field to a schedule -- 09945558, 12719326].

 

I would therefore assume that you cannot achieve it programmatically at the moment.

 

I am checking with the development team, for safety's sake, and also added a note of your request to the existing wish list item.

 

I hope this helps.

 

You should also ensure that your request is listed in the Revit Idea station, and get many votes for it to underline its importance.

 

Thank you!

 

Best regards,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 3 of 11
helen_89726
in reply to: jeremytammik

I do want Revit schedule can create a calculated field with a formula, it's useful and practical.
Best wish to Revit, thanks the team and Jeremy if this problem can be solved.

Message 4 of 11
adam.krug
in reply to: helen_89726

I posted a Revit Idea on this:

 

API calculated value - Revit Idea

 

you can vote now.

Message 5 of 11
Nurlan-A.
in reply to: jeremytammik

@jeremytammik 

Dear Jeremy,

Do you know if there are any changes in the API on this subject? 

Message 6 of 11
jeremytammik
in reply to: Nurlan-A.

I am not aware of any news.

 

Have you looked at the Revit Idea Station wish list item and voted for it?

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 7 of 11
Nurlan-A.
in reply to: jeremytammik

It’s a pity that no changes happened, it would help a lot. Of course, I voted, but so far has not worked.

I also wrote a letter to Santa with this and other top ideas, to increase the chances 🙂

 

Happy New Year!

 

Message 8 of 11
reylorente1
in reply to: Nurlan-A.

Can we add calculated fields to schedule in Revit 2022?

 

Message 9 of 11
Dronov.Dmitry
in reply to: Anonymous

Can we add calculated fields to schedule in Revit 2023?

Message 10 of 11
adam.krug
in reply to: reylorente1

please vote here: API calculated value - Revit Idea 

Message 11 of 11
adam.krug
in reply to: Dronov.Dmitry

please vote here: API calculated value - Revit Idea 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Rail Community