First question - Is there a way to output the total (sum) length of each pipe size in a schedule with API?
Second question - How can I format a field? For example I want to set the length unit in meters not millimiters.
Solved! Go to Solution.
Solved by jeremytammik. Go to Solution.
Dear nur91m,
1. http://thebuildingcoder.typepad.com/blog/2012/05/the-schedule-api-and-access-to-schedule-data.html
2. http://thebuildingcoder.typepad.com/blog/2013/04/whats-new-in-the-revit-2014-api.html
Unit Formatting and Parsing
The methods:
provide the ability to format a value into a string based on formatting options and to parse a formatted string (including units) into a value if possible.
Unit Conversion
The new class UnitUtils contains methods to convert between unit types:
Best regards,
Jeremy