Revit API

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

Calculated value

230 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: 331
Registered: ‎03-05-2010
Message 2 of 5 (148 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 (142 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 (127 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.

Mentor
Scott_Wilson
Posts: 164
Registered: ‎04-10-2013
Message 5 of 5 (106 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.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.