Cancel
Showing results for 
Search instead for 
Did you mean: 

How to export an IFC document together with IFCProperties.xlsx File

Valued Contributor
Valued Contributor

Hi,

 

I'm wondering if it is possible to export (batch) an ASM to IFC together with assembly-like named IFCProperties Excel File.

For example:

I've an ASM named "my_assembly1.asm". I want to export it to the IFC format, using connected IFC Properties xslx, named "my_assembly1.xslx". 

 

Any Idea?

5 REPLIES

Re: How to export an IFC document together with IFCProperties.xlsx File

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

You can export any ASM directly to IFC and there is already an option for the IFC properties.

NOTE: I am not familiar with the IFC file format, but here's what I can see from the SaveAs dialog options in ST10:

Export_IFC.png

What else do you need?

Re: How to export an IFC document together with IFCProperties.xlsx File

Valued Contributor
Valued Contributor
Thank you for your reply!
I want to make it programatically as a batch process.

Re: How to export an IFC document together with IFCProperties.xlsx File

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
    Dim doc As SolidEdgeAssembly.AssemblyDocument = objApp.ActiveDocument
    doc.SaveAs("D:\TMP\" & doc.Name.Replace(".asm", ".ifc"))

Re: How to export an IFC document together with IFCProperties.xlsx File

Valued Contributor
Valued Contributor
What I need is another one param for IFC Excel file Smiley Wink
Highlighted

Re: How to export an IFC document together with IFCProperties.xlsx File

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

Normally, any translator which supports options has an associated .ini file in the "...\Preferences\Translators" folder below the SE installation.

If you want to export to IFC with specific options, I would probably "manually" prepare a SEIFC.ini file in my macro folder and copy it into the "...\Preferences\Translators" BEFORE calling the AssemblyDocument.SaveAs("dummy.ifc") method, all done via API.

 

EDIT: The ini file must have that filename (SEIFC.ini) to be recognized as IFC export options by SE.