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: 

Calculated value

4 REPLIES 4
Reply
Message 1 of 5
AlexanderSkibin
410 Views, 4 Replies

Calculated value

Hi,

 

How to create calculated value in a schedule and add there an if...else statement?

May be I should use a new property IsCalculatedField?

 

Regards,

Alexander.

4 REPLIES 4
Message 2 of 5
Joe.Ye
in reply to: AlexanderSkibin

Hi, Do you want to add a new column to the schedule, and assign values by calculated value?


Joe Ye
Contractor
Developer Technical Services
Autodesk Developer Network
Message 3 of 5
AlexanderSkibin
in reply to: Joe.Ye

I want to add a new calculated value and a new column to the schedule.

Message 4 of 5

All that I know about calculated value is property IsCalculatedField, but it is read only.

Message 5 of 5

As far as I know you cannot yet create calculated fields in schedules using the API.

 

If you already know the parameters that need to be calculated you could pre-build a minimal schedule manually in the template consisting of only the parameters and calculated fields required then use the API to duplicate it and add/remove/hide other fields and apply filters as required.

 

You could even make a 'SuperSchedule' packed full of parameters and many combinations of calculated fields, then duplicate and customise it on the fly as needed.

 

Hopefully access to calculated fields is available in the next release.

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community