How to refresh the MEP calculations?

How to refresh the MEP calculations?

Anonymous
Not applicable
452 Views
2 Replies
Message 1 of 3

How to refresh the MEP calculations?

Anonymous
Not applicable

Hello!

I'm setting duct fittings' loss method to "specific coefficient" and setting a value to the "coefficient" field in the elements entity. My problem is that setting the value don't cause the pressure drop to recalculate. I've tried to invoke the Regenerate() command on the document, but it didn't work.

I would like to ask what method to call to recalculate the MEP paramaters?

 

Thanks in advance!

0 Likes
453 Views
2 Replies
Replies (2)
Message 2 of 3

Aaron.Lu
Autodesk
Autodesk
Dear,

looks like there are some information unclear for me:
1. did you define your own external server?
2. how did you find the "coefficient" field?

if possible, would you provide some code snippet here?


Aaron Lu
Developer Technical Services
Autodesk Developer Network
0 Likes
Message 3 of 3

Anonymous
Not applicable

Thank you for the response!

 

1. No, I don't define my on server. I simply would like automate the setting of a value which is already present in the Revit's user interface.

2. I used the Revit Lookup add-in tool to lookup the Coefficient's ID.

 

The code simply reuses the example code for getting and setting Extensible Storage's Schema objects.

The problem is setting the value doesn't cause the derived values to recalcute.

0 Likes