I have the same question?
I would like to know if someone know where to finde the smaple shown below? I would like to know how to make a button like the start button.
Do anuone have a tip on how to loade user created configurations? I cannot get user created configurations, unless I open the IFC exporter, close it, and now the user created configurations shows up…
Thanks!
Wouldl it be possible to add the option to use viewname when exporting a special view. Very much like "Automatic, Automatic Short, and Manual"?
I Exported the view correctly to nwc and dwf. Therefore I think the error lies somewhere in the IFC exporter and not the Revit API.
When i try options.AddOption("ElementsForExport","1094514,1094515,1094516,1094517,1094617,1094618,1094619,1094620,1094771,1094772,1094773,1094774,1095343,1095377") all I see in the IFC-file is 4 elements. If I try options.AddOption("ElementsForExport","1094514,1094515,1094517") I get the expected results. It appears that element id can not be used with a non primary design options.
When i try options.AddOption("ElementsForExport","1094514,1094515,1094516,1094517,1094617,1094618,1094619,1094620,1094771,1094772,1094773,1094774,1095343,1095377") all I see in the IFC-file is 4 elements. If I try options.AddOption("ElementsForExport","1094514,1094515,1094517") I get the expected results. It appears that element id can not be used with a non primary design option
I allready use "export the elements in the view" in the UI (see screenshot form Revit).
Perhaps I found somfing i the code. It could be very useful with a UI button for exportOptions.AddOption ("ElementsForExport", "174245; 205427").
Do the IFC exporter have an options like in Navisworks for NavisworksExportOptions.SetSelectedElementIds()?
As I see it we do not need to check in the api for design options. We need to check the exported view for visibel element. I did a smal test and the code below seems to work. I made til Revit file more simpel. UIApplication uiApp = revit.Application; UIDocument uiDoc = uiApp.ActiveUIDocument; Document doc = uiDoc.Document; Autodesk.Revit.ApplicationServices.Application app = revit.Application.Application; //Get document and current view Autodesk.Revit.DB.View currentView = uiDoc.ActiveView; FilteredElementCollector...
As I see it we do not need to check in the api for design options. We need to check the exported view for visibel element. I did a smal test and the code below seems to work. I made til Revit file more simpel. UIApplication uiApp = revit.Application; UIDocument uiDoc = uiApp.ActiveUIDocument; Document doc = uiDoc.Document; Autodesk.Revit.ApplicationServices.Application app = revit.Application.Application; //Get document and current view Autodesk.Revit.DB.View currentView = uiDoc.ActiveView; FilteredElementCollector...
[-img src=IFC Exporter error_Design options.png alt=Error when wxporting DS-options: missing =-]
[-img src=IFC Exporter error_Design options.pngalt=Error when wxporting DS-options: missing =-]
I cannot get my view to export. I think it is because I have uses override on design options. It looks like only element from main model is exported to IFC. How can I insert an image and the files (rvt and IFC) to my post?
When you use transfer project standards there is a high chance that you are going...
Hi, How can I currently export my IFC setup form one file to many files (external...
Hi, How can I currently export my IFC setup form one file to many files (external...
How can change the txt-file in Export > Options > IFC Options? Currently I can only...
I've tried to hardcode all values but no matter what I can only get Revit to export...
Whem I try to add an element id to options.AddOption("ActiveViewId", "(element id)")...
Hi how can I use the options like "Export only elements visivle i view" and "Use...