Getting conduit service type

Getting conduit service type

cheahjyRevit
Participant Participant
225 Views
1 Reply
Message 1 of 2

Getting conduit service type

cheahjyRevit
Participant
Participant

Hi guys,
I would like to get the conduit service type from the Revit project.

I know that I could get from the conduit instances, but I would like to have all the conduit service type before there is any conduit instance being input.

Can I know how to do so?

0 Likes
226 Views
1 Reply
Reply (1)
Message 2 of 2

jeremy_tammik
Alumni
Alumni

Welcome to the Revit API. I assume you have taken a look at the getting started material and the My First Plugin video?

  

https://thebuildingcoder.typepad.com/blog/about-the-author.html#2

  

After that, another of the very first things to do is to install and practise using RevitLookup to explore the Revit database from an API point of view. Starting from a conduit instance, you can research its properties and relationships to other objects in the database. That might provide insight into how to obtain the service type. This is part of the standard approach to research how to address a Revit API programming task:

   

https://thebuildingcoder.typepad.com/blog/2017/01/virtues-of-reproduction-research-mep-settings-onto...

  

Please let us know how it goes for you and whether further help is needed.

 

Good luck and have fun,

  

Jeremy

   

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes