You are currently reviewing an older revision of this page.
You would probably like to make the content of IFC Export Author properties consistent across your organisation. The attached VBA can be used to do this.
If you run this on a test user you will find the IFC Export Author properties populated as shown below:
To insert your own values edit the VBA replacing the placeholder text entries shown above with your own details.
The Role field is populated by the list index number, starting at 0. For example: Architect = 4; Structural Engineer = 5; Mechanical Engineer = 10.
The sequence contained in the VBA is to send a command to load the IFC module:
CadInputQueue.SendKeyin "mdl load tfifc"
Followed by a sequence of 'SetCExpressionValue' commands that set MDL variables, e.g.:
SetCExpressionValue "g_exportInfo.stepFile.organization", "My Company Name", "TFIFC"
This macro can be run manually or set to run automatically using the MS_VBAAUTOLOADPROJECTS variable at site or if project specific variations are needed at project level.
IFC_ExportProperties.zip