Create MEP spaces from linked IFC

Hi Priit,

the script works for me.
A_MEP-Room from A-Ifc-Link.dyn (30.1 KB)

Best regards
Rolf

1 Like

Hi Rolf

Thank You for the script. Unfortunately it doesn’t work for me. Here is a picture of the error message:


This happens every time I run the script with any IFC.
Best Regards
Priit

Hi Priit,

the ifc file must be a linked model!?

The error begins in Element.GetParameterValueByName or even earlier!

Best regards
Rolf

Hi Rolf

With a linked IFC the result of the Python Script is still an Empty List:

Best Regards
Priit

Hi Priit,

it works for me:

Maybe first test it with a smaller ifc model.

If it doesn’t work, please open a new topic.

Best regards
Rolf

Hi Rolf

Thank You for Your help.

Best Regards
Priit

@Kulkul
Hi, could you please tell me which package contains “Space.ByLevelLocation” node?
I have Dynamo Revit 2.3

Thanks

Hi Hoss,

Revit Dynamo 2.6:

S

Best regards
Rolf

Hi guys I am trying to make the script work but I cannot figure out why it doesn’t work to me. I’ve accomplished the following:

  1. I created a rvt file where I placed few spaces
  2. I exported the rvt file to ifc
  3. I opened a new rvt empty file where I linked the ifc file.
  4. I runned the above script which doesn’t show any error but the finale Python script node is an empty list somehow. The Raum Geschossname node’s code block it has been changed to IfcName as the IfcDecomposes doesn’t exist within the spaces parameter. I understand I should report the parameter which refer to the space name right?
    Same for the IfcSpace which is IfcSpace.INTERNAL instead.

Should I expect to see spaces created within the empty model? many thanks
carmine

Hi carmineaucello,

maybe already the created ifc file is not correct.

Here is another example:
https://www.ifcwiki.org/images/e/e3/AC20-FZK-Haus.ifc

Please try with with this file.

Best regards
Rolf