Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 66667

Re: How can I add room parameters which are used by the IFC exporter?

$
0
0

 

 

Hi,

 

the method AddValueString create the IfcGUID room parameter with the GlobalId value.

...

var room = document.Create.NewRoom(level, uv);

var globalId = '0oMylIW6P0kQ5Uj_5O3HgM'
Autodesk.Revit.DB.IFC.ExporterIFCUtils.AddValueString(room, new ElementId(BuiltInParameter.IFC_GUID), globalId);

...

 

Export as IFC File

#168= IFCSPACE('0oMylIW6P0kQ5Uj_5O3HgM',#41,'R025',$,$,#140,#164,'',.ELEMENT.,.INTERNAL.,$);

That's what i wanted.

 

Jo

 


Viewing all articles
Browse latest Browse all 66667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>