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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
How does one populate IfcGUID for a revit wall type (for instance)?
Screencast
http://recordit.co/O3fQIN46Fm
Hi,
It should happen automatically on export, with this button checked.
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.
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
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.
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.