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

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

Anonymous
Not applicable
3,206 Views
10 Replies
Message 1 of 11

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

Anonymous
Not applicable

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.

Accepted solutions (1)
3,207 Views
10 Replies
Replies (10)
Message 2 of 11

jeremytammik
Autodesk
Autodesk
Accepted solution

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
Observer
Observer

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
Advocate
Advocate

I posted a Revit Idea on this:

 

API calculated value - Revit Idea

 

you can vote now.

0 Likes
Message 5 of 11

Nurlan-A.
Advisor
Advisor

@jeremytammik 

Dear Jeremy,

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

0 Likes
Message 6 of 11

jeremytammik
Autodesk
Autodesk

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

0 Likes
Message 7 of 11

Nurlan-A.
Advisor
Advisor

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
Collaborator
Collaborator

Can we add calculated fields to schedule in Revit 2022?

 

Message 9 of 11

Dronov.Dmitry
Advocate
Advocate

Can we add calculated fields to schedule in Revit 2023?

0 Likes
Message 10 of 11

adam.krug
Advocate
Advocate

please vote here: API calculated value - Revit Idea 

0 Likes
Message 11 of 11

adam.krug
Advocate
Advocate

please vote here: API calculated value - Revit Idea