Anuncios
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Fabrication tags for inner radius on elbows, offsets on ogees & change elbows

julielfifield
Advocate

Fabrication tags for inner radius on elbows, offsets on ogees & change elbows

julielfifield
Advocate
Advocate

Has anyone written a dynamo script to extract the parameters that will allow tags to be created for the inner radius of elbows, or offsets on ogees & change elbows, that they are willing to share? The out-of-the-box offset parameter does not work on my ogees or change elbows.

If not, does anyone know or a good resource that will teach me how to to create the dynamo scripts myself? I have checked out the AU courses, which gives me hope that this is possible, but I need more step-by-step instruction for how to go about it.

0 Me gusta
Responder
Soluciones aceptadas (1)
1.455 Vistas
7 Respuestas
Respuestas (7)

robert.klempau
Advisor
Advisor
Solución aceptada

Hello @julielfifield,

 

Let me answer your questions one by one.

 

1: There is no Tag family that can visualize the Build-in Offset parameter of certain Revit categories. So if you want to Tag for instance the Offset of a Pipe Fitting, you need to copy the Offset parameter over to your own Shared parameter. For instance, "Offset" to "My Offset".

Add the shared parameter as a project parameter to your Pipe Fittings first. 

Create your own Multi Category Tag family that shows the value of your "My Offset" parameter.

 

Pipe fitting My offset.png

 

You can do that by using a Dynamo script like the one I share with you.

 

Dynamo My offset.png

 

This is a simple Dynamo script that reads the value of the  "Offset" parameter of the selected Category and adds that value to the parameter "My Offset"

You can use it also for other parameters and other categories.

 

See attachment for the Dynamo script.

 

Note: you can add this script to your Danamo Player list.

 

 

2: When you want to Tag the inner radius of an Elbow you need find out if the parameter that is used for the radius is a family parameter or a shared parameter.

If it is a shared parameter, then you can create a tag that shows the value of that parameter.

If it is a family parameter, so NOT a shared parameter you can't show that parameter in your project unless you change it into one.

 

You could open the family and replace the radius parameter by your own shared radius parameter. 

 

 

3: Dynamo lessons

You can find lots of Dynamo lessons online.

But first I would advise you to go to www.dynamobim.org\learn and follow the video tutorials first.

There is also a forum where you can learn more from others or ask a question. There are a lot of forum members that like to help you.

 

have also a look at:

 

https://www.youtube.com/user/AutodeskEd/search?query=dynamo

 

 

 

 

 

 

 

 

 

 

If my post answers your question, please click the "Accept as Solution" button. This helps everyone find answers more quickly!

Kind regards,
Robert Klempau
Senior Consultant AEC
Cadac Group AEC BV

julielfifield
Advocate
Advocate

thank you so much, you have helped me again!

0 Me gusta

mattpick10
Advocate
Advocate

Would this work with fabrication parts?

0 Me gusta

L-Vettz
Collaborator
Collaborator

It's actually easier for fab parts. Most fabrication CIDs that are used for elbows have a inside diameter and outside diameter dimension parameter you can use. It can be added to the label of a fabrication part tag.

Capture.png

-LV
0 Me gusta

mattpick10
Advocate
Advocate

Please can you explain how. I want to use the inner radius from a square duct elbow/bend in my schedule but can’t find it in the list of parameters when creating the schedule but if I edit the part the inner radius is clearly on the part which can be set/changed  

0 Me gusta

L-Vettz
Collaborator
Collaborator

The ID and OD parameters only exist for the MEP fabrication pipework category, not for the fabrication duct. Sorry. You would need to do something with dynamo and possibly the Revit API depending on how your database is set up and what the indexes are for your dimensions. I can't give you a specific answer for a duct elbow.

-LV
0 Me gusta

mattpick10
Advocate
Advocate

Ok thanks anyway not sue why Autodesk would include it for pipes and not ducts is very frustrating. Will have a look at Dynamo 

0 Me gusta