Menu

IfcGUID

2017-04-18
2017-04-18
  • Lubos Kostros

    Lubos Kostros - 2017-04-18

    Hello,

    How does one populate IfcGUID for a revit wall type (for instance)?

    Screencast
    http://recordit.co/O3fQIN46Fm

     
  • Troels Olsen

    Troels Olsen - 2017-04-18

    Hi,

    It should happen automatically on export, with this button checked.

     
  • Lubos Kostros

    Lubos Kostros - 2017-04-18

    Yes, this is correct. Thanks.
    I think my problem is, that when I export IFC, with all the properties included, these are not available when the IFC is reopened in Revit.

    I think, my problem is on reimporting user properties.

     
  • Angel Velez

    Angel Velez - 2017-04-18

    Hi Lubos,

    In general, the IFC GUID should be preserved on re-import, although there are some issues with that and in-place families. That said, why are you re-importing the IFC file? We'd recommend that you only import/link in data that isn't already contained natively in Revit.

    Regards,
    Angel

     
  • Lubos Kostros

    Lubos Kostros - 2017-04-18

    Hi Angel,
    my problem is, that I am using Autodesk.Revit.DB.ElementTransformUtils.CopyElements Method (Document, ICollection(ElementId), Document, Transform, CopyPasteOptions)

    I can only copy Wall Types where IfcGUID is present in the Source Document, but the function call fails to copy Wall Types where IfcGUID is empty. It crashes with Revit API internal error. So my guess is that it is somehow related to IfcGUID.

     
  • Angel Velez

    Angel Velez - 2017-04-18

    OK, now this gets more interesting! Can you send us a sample project (with a macro) where this is an issue? You can post this to : https://forums.autodesk.com/t5/revit-api-forum/bd-p/160
    That is where API issues are discussed and dealth with.

     

Log in to post a comment.