Automating COBie-UK 2012

revit

#1

See below as marked solved for continuous updates:


#2

@Wayne_Patrick_Dalton
After filtering the true’s, use all elements of type and give them the boolean?


#3

Thanks for the reply @Marcel_Rijsmus,

Here’s what I think you meant, I may have interpreted incorrectly:


#4

you are feeding it booleans it says
feed it element types and after that set the booleans to the elements
sorry i was not clear


#5

@Marcel_Rijsmus, no apology needed, completely my fault. I’m following the logic of what you’re suggesting, just having trouble implementing it, unfortunately.

Have tried this approach:

Some Context:


#6

try this


keep me up to date please


#7

this is one of these issues where a really good answer seems hard to get.

I have worked for a while to figure a way to do this in a generic way so I could build a node for it.

Problem is that a node should take one item (of type) and return the item as the element. But there can be several elements from a type. If you don’t have a list of elements then is it hard to figure which element you want to catch.

So my best guess is that you need to filter the types based on the filter you use for elements… if you have such a list


#8

I placed a few instances of the same type (detail 1)
as well as some other instances of another type (detail 2)
Both have the same family.

So basicly: I can either feed the elements to the set.parameter as currently is shown OR the total amount of family instances placed of the family itself (top right node).
The result remains the same: the instance value of the type instances are altered.

Shown below: only detail 1’s instance value is set to true (all of 'm).
Connecting top right node: detail 1 & detail 2 instance value is set to true (all of 'm)

Is this the same thing you try to do?


#9

Thanks @Marcel_Rijsmus, @erfajo & @3Pinter,

:clap: to @3Pinter , as I need the graph to do two things:

if COBie.Type [:white_check_mark:] then COBie [:white_check_mark:]
if COBie.Type [:x:] then COBie [:x:]

I have a previous section of the graph setting the COBie.Type (per a single Category), separated by some Passthrough code:

here, and here:

Now when it gets here it nicely resolves itself with Instance matching with Type for each element:

When COBie.Type [:white_check_mark:] then COBie [:white_check_mark:]
When COBie.Type [:x:] then COBie [:x:]


#10

Sorry to go off topic a bit, but beautiful as this is (I love a spirograph)…

There must be a better way :slight_smile:

I suspect that rationalising it, perhaps through an input list (perhaps from your original import (excel?)?) and some longest lacing… would make it run a bit quicker and easier to manange?

Hope that’s of interest,

Mark


#11

Hello again @Mark.Ackerley - Yeah its a bit nasty alright, and knowledge on listing has failed me before - if you or anyone else in the forum has any suggestions on how to make it more efficient, I’d be very much open to it :slight_smile:

I’m listing out COBie Parameters, and placing them in specific rows on an excel that I would like to use to edit, manage etc. then push back into Revit.

Sample:


#12

awwww your spiro calmed me… :sunglasses:

Below what @Mark.Ackerley suggested.


#13

for list actions look here (a bit old)


#14

@Mark.Ackerley

Maybe I should note that this is the export list - hence its structure in a specific order as it populates a very specific colour coded excel, I was planning to use UniqueId or ElementId to match and map back in from excel, but haven’t got to look at that just yet.


#15


#17

I obviously know nothing about your graph, just wondered if you could use your excel that you’re getting them from to define the parameters… it’s cross lacing not longest…

Edit: Unfortunately this is much less pretty :frowning:
Edit 2: I feel that getting lots of COBie info on this forum will help people :slight_smile:


#18

@Marcel_Rijsmus thanks for this. I need it.


#19

Now I get you. Yes, this will help :sunglasses:


#20

thinking ahead this might help you later in the process
the uniqueId values can come from excel
to get it from elements (beit type or instance) use Element.UniqueId
to get to elements use Revit.ElementSelector.ByUniqueId(Id, true)



#21

Good idea @Mark.Ackerley :raised_hands:t3:

I have changed the title this thread to “Automating COBie-UK 2012”. I’ll keep posting my amendments, and updates I make, in this thread for all to follow, and I’ll add a bunch of annotation to explain the rationale behind the decisions I’m making in the graph, feel free to chip in if you’re familiar with COBie.

I can share my experience of COBie so far (one of my best decisions was to do a course last year with two of the authors of the recent Delivering COBie Using Autodesk Revit) as I was managing delivery for a large scheme, with 5 buildings.

I was using Ideate BIM Link then, the repetition really bothered me.

Got a similarly sized scheme (by floor area) but split into 14 buildings, and would naturally like to automate as much as possible.

I’ll give Richie, one of the authors on the book a call as he’s from an MEP background, and see if he can help out, we can expand this to look at systems and spaces for MEP too, which I’ve not looked at practically (only in theory) as I am from an Architectural background.