Skip to content
  • Categories
Collapse
Solibri Society Forum
  1. Home
  2. General Discussion
  3. Load a specific IFC Model automatically on Startup

Load a specific IFC Model automatically on Startup

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 659 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • JSNJ Offline
    JSNJ Offline
    JSN
    wrote on last edited by JSN
    #1

    I know it is possible to load a specific IFC on startup with Autorun.

    1f424806-e57f-4e99-9e0d-fd1c6fa2b66c-image.png

    My question now is how this could be achieved when you open e.g. Solibri Live from Archicad. So that not only my role settings are loaded but also a specific IFC, that is always needed, is automatically added to the model?

    The Arcicad Addon does not allow me to select a batch file as Solibri Application, but is ther a fast workaround like adding the xml path information from the batch file to the shortcut or combine it in an .exe or so?

    6daa1f3b-3324-4589-a449-c2509557c035-image.png

    Moreover it should be in compliance with our IT Security (which normally prevents self executing applications like batch files) so actually the best would probably be to have an option for loading default models in the Role Settings … this would also help a lot concerning administration.

    1e4343d2-0ca0-4808-afc7-f58896bf9700-image.png

    EDIT: For clarification, I can indeed create a shortcut with the same functionality like the batch file.

    9ef90b2a-36f0-4d82-b555-845d114cc75d-image.png

    However, when I select it, the xml suffix is not taken in consideration as it automatically jumps to the executable.

    62dd6f5e-fec7-4408-88d3-2791acc453ae-image.png

    … and while this would work if people open Solibri manually, it will be ignored when opened within AC … and this is actually necessary to make the Live Link working.

    1 Reply Last reply
    0
    • cpreidelC Offline
      cpreidelC Offline
      cpreidel
      wrote on last edited by
      #2

      Hey @JSN,

      Using Autorun for this purpose would mix up two different things, and I don’t think that we would end up with a robust solution. So some background information first: The ArchiCAD Solibri Live Link uses a new API we’ve been adding to our Solibri Developer Platform with 9.10.6: the REST API. You can find the documentation here: https://solibri.github.io/Developer-Platform/9.10.8/RestApiUsage.html
      This API allows communicating with Solibri from the outside, e.g., to command Solibri to open a specific model. All the communication between ArchiCAD and Solibri is using this API in the new version of the Live Link, and it looks you could hook into this communication to send additional commands on top.

      However, this would require some development work to be done and basic programming knowledge. But the nice thing is that the REST API can be accessed via any programming language (e.g. Python) and you are not bound to Java. Would this be an interesting project? I would also like to help because I am interested in it myself and I think it is a nice example 😉

      Cheers
      Cornelius

      JSNJ 1 Reply Last reply
      0
      • JSNJ Offline
        JSNJ Offline
        JSN
        replied to cpreidel on last edited by
        #3

        Hey @cpreidel

        I am aware that I have suggested kind of a “MacGyver approach” which may not be the most robust one but which probably would have served as a quick win. So, thx for elaborating the technical background and I am really curious how “hooking into this communication to send additional commands on top.” would work out.

        However, I would have to discuss this with my colleagues and I guess that due to the current situation there is less time for dedicating hours on a developing purpose for such a feature which is actually classified as “pretty nice to have” but not as an “absolut must” at the moment.

        Nevertheless I would be interessted to hear more about the concept you have in mind (e.g. via Python) to gain a clearer picture.

        Many thx.
        Julian

        1 Reply Last reply
        0

        Copyright © 2025 Solibri Inc. | Powered by NodeBB

        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories