I'm having some inaccuracy with export empty parameters to IFC file. When value of parameter is empty then it shouldn't be exported to IFC but in some cases it gets exported with no value.
Please find attached files showing an issue.
There is a difference between an empty field and an untouched empty field.
Only the untouched ones are skipped by export.
If you fill in a value for the parameter Reference Level / apply / delete value / apply, and then export it to IFC, you will notice that also the Reference Level parameter is exported.
Regards,
Dirk
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Not that I know ... unfortunately.
I suppose the only solution would be if something in the code of the exporter would be altered concerning the evaluation of empty fields.
you could change the value of your parameter with a simple dynamo script
that sets the parameter to empty
On 23.11.2019 16:45, Dirk Van Rillaer wrote:
Not that I know ... unfortunately.
I suppose the only solution would be if something in the code of the
exporter would be altered concerning the evaluation of empty fields.
Hello Everyone and merry Christmas!
I am experiencing the same problems. I tried Peters Dynamo and the issue was still ongoing. The dynamo runs well, but the empty Parameters are still visible in the IFC file. I use 2x3.
My thoughts on the topic:
I think that Revit in IFC matters, has troubles assigning attributes. Specially using Projectparameters and Family parameters. When shared parameters come into play, lets say in a family and as a Projectparameter and of course as shared parameter, things might go wrong sometimes. Specially if inexperienced users create and populate the model with information.
In my case I ended up deleting the parameter which was creating the empty attributes in the ifc file, and now the empty attributes are gone, which is good for me. So Manually and dynamo deleting values didn't do the job. Deleting the parameter did the job. I am good for now.
Well.... As soon as a user puts data in the wrong parameter and deletes, the empty attributes will emerge again. My question do you have another workaround for this touched, untouched empty parameter Issue that might help better? Does Autodesk know this?
I think it's very weird, when something is empty in a schedule or the value itself is blank that still it gets exported, empty, but it is there. This was new to me.
Regards
Jose
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm having some inaccuracy with export empty parameters to IFC file. When value of parameter is empty then it shouldn't be exported to IFC but in some cases it gets exported with no value.
![screen](https://i.imgur.com/h96P3LD.png)
Please find attached files showing an issue.
Hi Adrian,
There is a difference between an empty field and an untouched empty field.
Only the untouched ones are skipped by export.
If you fill in a value for the parameter Reference Level / apply / delete value / apply, and then export it to IFC, you will notice that also the Reference Level parameter is exported.
Regards,
Dirk
Hi Dirk,
Thank you for clarifying that :)
Is it possible to make a parameter untouched again so it won't be exported to IFC?
Not that I know ... unfortunately.
I suppose the only solution would be if something in the code of the exporter would be altered concerning the evaluation of empty fields.
@angelvelezsosa: could you shine some light on this?
you could change the value of your parameter with a simple dynamo script
that sets the parameter to empty
On 23.11.2019 16:45, Dirk Van Rillaer wrote:
Thank you for help. I'll do it that way.
don't know if needed
but this dynamo will do the job
On 25.11.2019 09:57, "Adrian Bałazy" wrote:
Many thx for the script! I will give it a try.
Empty fields may be empty on purpose. I don't know that you can untouch a parameter - you could check with support to see if they know of a way.
Hello Everyone and merry Christmas!
I am experiencing the same problems. I tried Peters Dynamo and the issue was still ongoing. The dynamo runs well, but the empty Parameters are still visible in the IFC file. I use 2x3.
My thoughts on the topic:
I think that Revit in IFC matters, has troubles assigning attributes. Specially using Projectparameters and Family parameters. When shared parameters come into play, lets say in a family and as a Projectparameter and of course as shared parameter, things might go wrong sometimes. Specially if inexperienced users create and populate the model with information.
In my case I ended up deleting the parameter which was creating the empty attributes in the ifc file, and now the empty attributes are gone, which is good for me. So Manually and dynamo deleting values didn't do the job. Deleting the parameter did the job. I am good for now.
Well.... As soon as a user puts data in the wrong parameter and deletes, the empty attributes will emerge again. My question do you have another workaround for this touched, untouched empty parameter Issue that might help better? Does Autodesk know this?
I think it's very weird, when something is empty in a schedule or the value itself is blank that still it gets exported, empty, but it is there. This was new to me.
Regards
Jose