Revit API

Reply
Contributor
AlexanderSkibin
Posts: 23
Registered: ‎11-11-2013
Message 1 of 5 (227 Views)

Calculated value

227 Views, 4 Replies
11-27-2013 12:51 AM

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.

ADN Support Specialist
Joe.Ye
Posts: 328
Registered: ‎03-05-2010
Message 2 of 5 (145 Views)

Re: Calculated value

12-11-2013 03:17 AM 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
Contributor
AlexanderSkibin
Posts: 23
Registered: ‎11-11-2013
Message 3 of 5 (139 Views)

Re: Calculated value

12-11-2013 05:06 AM in reply to: Joe.Ye

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

Contributor
AlexanderSkibin
Posts: 23
Registered: ‎11-11-2013
Message 4 of 5 (124 Views)

Re: Calculated value

12-11-2013 09:34 PM in reply to: AlexanderSkibin

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

Distinguished Contributor
Scott_Wilson
Posts: 112
Registered: ‎04-10-2013
Message 5 of 5 (103 Views)

Re: Calculated value

12-13-2013 11:40 PM in reply to: AlexanderSkibin

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.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Revit Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Revit helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Revit

Twitter

Facebook

Blogs

Youtube