Revit MEP 2012 (C#)

Revit MEP 2012 (C#)

Anonymous
Not applicable
714 Views
2 Replies
Message 1 of 3

Revit MEP 2012 (C#)

Anonymous
Not applicable

I'm a beginner at programming with C#. I am trying to create a command that will total lengths of pipes in Revit MEP 2012. Let me explain what I would like it to do:

The user will select a group of pipes. The "Length" parameters will be extracted for each of the pipes selected. They will then be combined to show to total length of the pipe(s) selected.

 

At some point I'd like the to be totaled by pipe size, then by length per pipe size, but I want to figure that out on my own. Can someone point me in the right direction or help me get started?

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

jeremytammik
Autodesk
Autodesk

Dear RG-ClearyZ,

Have a look at

http://thebuildingcoder.typepad.com/blog/2011/10/retrieving-duct-and-pipe-endpoints.html

Before you start, though, I would recommend working through the DevTV and other introductory material:

http://thebuildingcoder.typepad.com/blog/2011/10/getting-started-with-the-revit-2012-api.html

Best regards,
--
Jeremy Tammik
Autodesk Developer Network -- http://www.autodesk.com/joinadn
The Building Coder -- http://thebuildingcoder.typepad.com




Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 3 of 3

Anonymous
Not applicable

Thank you for the advice. I'll definitely check those links out.

0 Likes