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: 

Fabrication Part insulation geometry

14 REPLIES 14
SOLVED
Reply
Message 1 of 15
JonSmith
1675 Views, 14 Replies

Fabrication Part insulation geometry

Hi,

 

In Revit 2016, the geometry of fabrication parts (returned by elem.get_Geometry) included insulation. In Revit 2017/2018 it does not - it is only returning the main MEP element minus any insulation. Is there any way we can now get the geometry of the insulation for fabrication parts? The total geometry is required for clash detection.

 

We have looked at temporarily increasing the size of the MEP elements and getting that geometry but unfortunately this is inaccurate for anything other than straights.

 

Thanks

Jon

14 REPLIES 14
Message 2 of 15
jeremytammik
in reply to: JonSmith

Dear Jon,

 

Thank you for your query.

 

I am checking with the development team for you.

 

Best regards,

 

Jeremy



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

Message 3 of 15
JonSmith
in reply to: jeremytammik

Hi Jeremy - did you get any feedback from the developers?

 

Thanks

Jon

Message 4 of 15
jeremytammik
in reply to: JonSmith

Dear Jon,

 

Happy New Year to you!

 

Thank you for your update and patience.

 

Sorry, no response so for.

 

I re-prompted the development team for you just now.

 

By the way, I assume you are aware of this discussion on accessing insulation for for non-fab parts?

 

http://thebuildingcoder.typepad.com/blog/2012/05/pipe-insulation-and-insulation-material.html

 

Best regards,

 

Jeremy



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

Message 5 of 15
JonSmith
in reply to: jeremytammik

Happy New Year! Thanks for the suggestion. For design ductwork, the insulation geometry is returned from get_Geometry and works great. It is only when insulation is added to fabrication parts that the additional geometry is not returned (since 2016).

Message 6 of 15
JonSmith
in reply to: jeremytammik

Sorry to ask again, but any sign of a response from the dev team?

 

We have spent a lot of development time working around the issue, and while we have a workaround by scaling the non-insulated geometry we do get, it is inaccurate when dealing with fittings (especially asymmetrical fittings such as branches or reducing bends) - and inaccuracy when it comes to clashing is not going down well with our users!

 

Thanks

Jon

Message 7 of 15
jeremytammik
in reply to: JonSmith

Dear Jon,

 

Thank you for your update and patience.

 

Sorry for the long delay.

 

The development team responded to your query and say:

 

Since 2017 there is now a separate sub-element for insulation geometry.

 

The insulation geometry may be accessed via the internal method Owner<GGroup> FabricationPartInsulationLining::generateModelGraphics. Unfortunately, that method is not currently exposed in API. One solution may be to add a new API FabricationPart::getInsulationLiningGeomery which internally calls the other method and retrieves the geometry without disrupting the fabrication insulation hidden line work.

 

I added a task to implement this for you, REVIT-128613 [Expose the fabrication insulation geometry in public API -- 13694462]. Please make a note of this number for future reference.

 

You are welcome to request an update on the status of this issue or to provide additional information on it at any time quoting this change request number.

 

This issue is important to me. What can I do to help?

 

This issue needs to be assessed by our engineering team and prioritised against all other outstanding change requests. Any information that you can provide to influence this assessment will help. Please provide the following where possible:

 

  • Impact on your application and/or your development.
  • The number of users affected.
  • The potential revenue impact to you.
  • The potential revenue impact to Autodesk.
  • Realistic timescale over which a fix would help you.
  • In the case of a request for a new feature or a feature enhancement, please also provide detailed Use cases for the workflows that this change would address.

 

This information is extremely important. Our engineering team have limited resources, and so must focus their efforts on the highest impact items. We do understand that this will cause you delays and affect your development planning, and we appreciate your cooperation and patience.

 

Best regards,

 

Jeremy



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

Message 8 of 15
JonSmith
in reply to: jeremytammik

Thanks Jeremy. That would be a perfect solution. I imagine it would affect anyone who does any kind of clash detection that could involve fabrication parts so would have a wide ranging positive impact. Hopefully that is enough to promote its importance for a future release.

 

Jon

Message 9 of 15
jeremytammik
in reply to: JonSmith

Dear Jon,

Good news.

The development team just added a note to the issue REVIT-128613 [Expose the fabrication insulation geometry in public API -- 13694462], saying:

We'll discuss this in today's planning. It's a good candidate for Revit 2019.1

Thank you again for your patience.

Best regards,

Jeremy

 



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

Message 10 of 15
JonSmith
in reply to: jeremytammik

Sounds positive - fingers crossed!

Message 11 of 15
jeremytammik
in reply to: JonSmith

Dear Jon,

 

More good news:

 

The issue REVIT-128613 [Expose the fabrication insulation geometry in public API -- 13694462] is nominated for inclusion in the next update release of Revit 2019.

 

Thank you again for your patience.

 

Best regards,

 

Jeremy



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

Message 12 of 15
JonSmith
in reply to: jeremytammik

Role on 2019.1 🙂



Thanks for the updates Jeremy. Waiting with bated breath now.


Message 13 of 15
jeremytammik
in reply to: JonSmith

Good news:

 

The fix REVIT-128613 [Expose the fabrication insulation geometry in public API -- 136944620 was submitted to the update release.

 

Cheers,

 

Jeremy

 



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

Message 14 of 15
JonSmith
in reply to: jeremytammik

Thanks Jeremy. Saw this in 2019.1 and the API seems clear - on our backlog to implement now.

 

Many thanks

Jon

Message 15 of 15

Hello,

To get the insulation what we did was we set one project parameter (Element_ID) and assigned that to both MEP Fabrication Ductwork and sub category Insulation.

 

Then wrote the element ID of the ductwork to this parameter (Either macro or Dynamo). Then selected all the elements of category MEP- Fabrication Ductwork -Insulation. From these elements we can read the values of the user defined parameter (Element_ID) as the parameter was applied for both. Then we can get the required insulation element by getting the index of the element which matches the value and can get the geometry of the insulation

 

Or in the other way

 

Write the element ID of 'MEP- Fabrication Ductwork -Insulation'  to the parameter Element_ID (Either macro or Dynamo) by selecting all the elements of category MEP- Fabrication Ductwork -Insulation. Then if we select the Ductwork having insulation, we can see the element ID of its corresponding insulation on it. Then we can select the insulation of a ductwork using this parameter and can extract geometry.

 

It was working for Revit 2018.

 

I would like to know any method to get the centerline geometry of Fabrication part. Is this possible?

 

Thanks 

Avis A

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

Post to forums  

Forma Design Contest


Rail Community