Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenBuildings | AECOsim | Speedikon
  • Product Communities
  • Building
  • OpenBuildings | AECOsim | Speedikon
  • Cancel
OpenBuildings | AECOsim | Speedikon
OpenBuildings | AECOsim | Speedikon Wiki IFC - Export - Setting the Author Properties for Your Organisation
    • Building Design - Wiki
    • -OpenBuildings Designer
      • +What's New
      • FAQ - OpenBuildings Designer CONNECT Edition
      • Released Versions - OpenBuildings Designer
      • IFC4 Self-certification
      • +Installation - OpenBuildings Designer
      • +Migration - Upgrading from earlier versions
      • +Configuration - OpenBuildings Designer
      • +General - OpenBuildings Designer
      • +User Interface - OpenBuildings Designer
      • +Architectural Design - OpenBuildings Designer
      • +Structural Design - OpenBuildings Designer
      • +ProStructures Interoperability - OpenBuildings Designer
      • +Electrical Annotation and Design - OpenBuildings Designer
      • +Datasets and Content - OpenBuildings Designer
      • +DataGroup System - OpenBuildings Designer
      • +Floor Management - OpenBuildings Designer
      • +Grid Systems - OpenBuildings Designer
      • +Drawing Views - OpenBuildings Designer
      • +Annotation - OpenBuildings Designer
      • -Import/Export- OpenBuildings Designer
        • Generating IFC file from any DGN files using iTwin Technology
        • A message pops up while exporting to Parasolids format if all the element in the file does not fit 1 km sized box.
        • Change the unit precision while exporting to DXF file format.
        • Converting IFC to DGN format
        • Create custom default setting for Export Visible Edges
        • Creating a report that includes a custom DataGroup ID property along with alignment Chainage values
        • Dialux integration with older versions of DXF format
        • Excluding specific properties during IFC Export
        • Export to DWG gives error message irrespective of Datasets
        • Export to DWG gives error message.
        • Exporting a wall having an Opening in it from DGN to DWG?
        • Exporting customized steel sections to SDNF format
        • Exporting Navisworks file from OpenBuildings Designer
        • Extra lines are coming in the DWG file for Railing. How to resolve it?
        • Fixing the Schedule export functionality
        • Formatting used by IFC_*Filter.set files
        • How to alter Space description in IFC file?
        • How to directly print any file through a particular PLTCFG file without choosing it manually?
        • How to export Clash Detection results
        • How to export IFC with COBie properties?
        • How to Import an ISM file to OBD?
        • How to publish an OBD file as iModel using iModel hub?
        • How to report on parametric cell values
        • IFC - Certain Elements Do Not Appear in COBie
        • IFC - Export - Setting the Author Properties for Your Organisation
        • IFC - Export Mapping
        • IFC - Space property values appear in multiple fields
        • IFC and COBie Export - Enabling the Required properties
        • Importing a Steel Detail Neutral File in AECOsim/OpenBuildingsDesigner CONNECT Edition
        • London Underground - TFL447
        • Part error when generating Structural Quantity Spreadsheet
        • Railings exported to DWG display a flattened 2D version
        • Removing certain OBD properties to not export to IFC
        • Reporting on Slab Form width & length
        • Save Image results are lighter than when viewed in OpenBuildings Designer
        • Structural Quantity Spreadsheet not working
        • Unable to create *.i.bim file while publishing an i-model
        • Unable to open / import / attach as reference some IFC models
        • What is the difference between IFC Import and the IFCIN keyin?
        • What is the Key-in that will directly create the PDF from any file (2D or 3D)?
        • What is the purpose of the files created along with *.imodel?
        • Where are the report definitions stored and how can I share them with other users?
        • Where does the Structural Quantity Spreadsheet get its Weight value?
      • +ProjectWise Integration - OpenBuildings Designer
      • +Customization - OpenBuildings
      • +Platform Tools - OpenBuildings Designer
      • +Plumbing Design
      • Electrical Designer
      • +Learning Tips
      • +HVAC Design - OpenBuildings Designer
      • +Bentley i-model Composition Server
      • OpenBuildings Designer - Support for IFC Singapore
      • +OpenBuildings Designer Accreditation Program
    • +OpenBuildings Energy Simulator
    • +GenerativeComponents
    • OpenBuildings Station Designer
    • +OpenBuildings Speedikon
    • +OpenBuildings Speedikon + Bentley Speedikon V8i
    • +Bentley Facilities Space Planner CONNECT Edition
    • +AECOsim Building Designer
    • +iModel Plugin for Revit
    • +Social Distance Assessments
    • Working from home with OpenBuildings products
    • Working from home with Speedikon
    • +Special Interest Group (SIG) FAQs
    • +Structural Modeler_PS
    • +Configuration Explorer
    • +Legacy Products

     
     Questions about this article, topic, or product? Click here. 

    IFC - Export - Setting the Author Properties for Your Organisation

      Product(s): OpenBuildings Designer (and AECOsim Building Designer)
      Version(s): CONNECT Edition and V8i
      Area: Import/Export
      Subarea: IFC

    You would probably like to make the content of IFC Export Author properties consistent across your organisation. We do not have key-ins to apply content to these fields, but they can be populated by VBA. The attached VBA can be used to do this.

    (Note that these properties are those of the IFC author and should not be confused with the project specific properties stored in the Floor Manager.)

    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.

    Follow this link to an MVBA sample:

    Marc Thomas
    IFC - Export - Setting the Author Properties for Your Organisation
    By Marc Thomas over 5 years ago in OpenBuildings | AECOsim | Speedikon > OpenBuildings | AECOsim | Speedikon Files

    Here is the full text of the macro with the placeholders highlighted:

    Sub SetIFCExportAuthorProperties()
        Dim startPoint As Point3d
        Dim point As Point3d, point2 As Point3d
        Dim lngTemp As Long
       
        '   Send a keyin that can be a command string
        CadInputQueue.SendKeyin "mdl load tfifc"

    '   Set a variable associated with a dialog box
        SetCExpressionValue "g_exportInfo.stepFile.modPerson.givenName", "My First name", "TFIFC"

        SetCExpressionValue "g_exportInfo.stepFile.modPerson.familyName", "My Family Name", "TFIFC"

        SetCExpressionValue "g_exportInfo.stepFile.modPerson.role", 4, "TFIFC"

        SetCExpressionValue "g_exportInfo.stepFile.modPerson.sAddress.sTelecom.EMail", "my@email@.com", "TFIFC"

        SetCExpressionValue "g_exportInfo.stepFile.modPerson.sAddress.sTelecom.TelephoneNumber", "0000 000000", "TFIFC"

        SetCExpressionValue "g_exportInfo.stepFile.modperson.organization", "My Company Name", "TFIFC"

        SetCExpressionValue "g_exportInfo.stepFile.modPerson.sAddress.sPostal.Country", "My Country", "TFIFC"

        SetCExpressionValue "g_exportInfo.stepFile.modPerson.sAddress.sPostal.PostalCode", "My Postal Code", "TFIFC"

        SetCExpressionValue "g_exportInfo.stepFile.modPerson.sAddress.sPostal.Town", "My Town", "TFIFC"

        SetCExpressionValue "g_exportInfo.stepFile.modPerson.sAddress.sPostal.Region", "My Region/State/County", "TFIFC"

        SetCExpressionValue "g_exportInfo.stepFile.modPerson.sAddress.sPostal.AddressLine", "My Address Line 1", "TFIFC"

        SetCExpressionValue "g_exportInfo.stepFile.modPerson.sAddress.sPostal.AddressLine2", "My Address Line 2", "TFIFC"

        CommandState.StartDefaultCommand
    End Sub

    • IFC
    • OpenBuildings Designer
    • IFC Author Properties
    • IFC export
    • mvba
    • Share
    • History
    • More
    • Cancel
    • Marc Thomas Created by Bentley Colleague Marc Thomas
    • When: Thu, Aug 20 2015 7:15 AM
    • Marc Thomas Last revision by Bentley Colleague Marc Thomas
    • When: Tue, Feb 15 2022 10:56 AM
    • Revisions: 10
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies