Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Revit MEP 2012 (C#)

2 REPLIES 2
Reply
Message 1 of 3
RG-ClearyZ
588 Views, 2 Replies

Revit MEP 2012 (C#)

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?

2 REPLIES 2
Message 2 of 3
jeremytammik
in reply to: RG-ClearyZ

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

Message 3 of 3
RG-ClearyZ
in reply to: jeremytammik

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community