I would like to ask if anyone have done tagging the mep connector using generic families? Im looking on a proper dynamo script and keep searching over the forum circulated here but not lucky enough to find specific workaround to get a good result.
I’m trying to present in 2D take off i.e., a workbench with a sink that has a hot & cold connectors but the non-Revit reviewer wished to see a symbol that represent mep connection on a layout.
I got some nodes that i used but still not getting a result.
I would get the location point of the instances you want to tag, and then use that location to place the generic family as the “tag”. You can’t actually tag the instances with the node you are attempting to use.
I believe there’s a node in Clockwork that creates view specific 2D families, which you could take a look at
Thanks for tip. My goal is to create a 2D symbol represent the mep services, load to my project and tag that enable to detect automatically the exact location of specific connector of the familes within my layout views.
Have you still remember which 2d nodes you are referring to? It might be a big help for me to solve a dynamo script for this specific workflow.
Here is one way you could achieve what you are trying to do.
Collect MEP geometry in the model
Check connectors associated with all geometry and get their location
Place a 2D symbol representative of the Fixture
Here is a quick example of how you can achieve this.
In this example i am only collecting plumbing fixtures as i am sure the elements are within the project file. You may use some linked model nodes to achieve the same result if the geometry is in a linked file.
next i would set up a filter for the actual fixture as i would suspect the 2D symbol for each different element to have different representations. eg. Basin would have a drain point + hot and cold water but a WC would only have a drain point + cold water.
The shower family in the project i was working with had several connector points but since i only wanted one. i dropped the 2nd location using list chop. you might not need this - depending on your family.
Thanks a lot for the scripts, could you share the @Revit.Currentview and List.Chop+ custom nodes to enable for me to try if the script will work on my model.
Thanks a lot for the scripts, could you share the @Revit.Currentview and List.Chop+ custom nodes to enable for me to try if the script will work on my model.
the reason why you were getting an error is because of how the element.connector list was being handled as it was reading your family in a specific way. the family you have had a completely different list of connector to what i had in my example.
To give you an example of how you can work with the family you have, say the WHB sink family.
I’m very impressed, this is exactly what I’m looking for. I tried to follow your script and no errors now, however the symbol is not reflecting in my layout. If you dont mind could you share your .dyn files to me?
Appreciated the time you spent to solve the issues.
quote=“adriang, post:14, topic:89155, full:true”]
Hi @Ali_Daniel,
I’m very impressed, this is exactly what I’m looking for. I tried to follow your script and no errors now, however the symbol is not reflecting in my layout. If you dont mind could you share your .dyn files to me?
Appreciated the time you spent to solve the issues.
Many Thanks,
-Adrian
[/quote]
my apologies. this has to do with the nodes loaded on my machine. a lot of time i change stuff without renaming.
in your case you are creating the 2D annotation but it is not showing as the level component is not associated with it hence why you cant ‘see’ it.
Im a bit confused now, Im not sure if the connector.Location node to be connected to Geometry.ClosesPointTo node. Better if I can have a copy of you script for me to understand correctly. Then it enables me to formulate a script to identify each of connector points for drain, hot & cold water along with their own 2D tag symbol.
go View>Show Graph Package Dependency and download the packages that you are missing. There are no custom packages that i have which you cant download.
alternatively you could use a variety of other nodes that you might have already which will give the same result.
I simplified the script according to what I’m trying to achieve, I got no errors. However, no symbol being tag in my layout. I able to see a blue points only where the connectors are located.