3D Design

3D Design

Topics related to Ansys Discovery and Ansys SpaceClaim.

Define SpaceClaim as default program

TAGGED: 

    • acreusot
      Subscriber

      Hello,

      Since the arrival of Discovery SpaceClaim, it is impossible to define SpaceClaim as default program for the files .step, .stl,...

      Here is a video showing the problem: https://www.screencast.com/t/pp7QHsp7wg

      Also, when I double click on a SCDOC file in the Windows browser and SpaceClaim is already opened, the file is opened in a new session SpaceClaim and not in a new tab. In the previous version, the file was opened in a new tab. It is possible de change this behavior?

      Regards

      Anaïs

    • Naresh Patre
      Ansys Employee

      Hello Anais.C

      Regarding the first issue (impossible to define SpaceClaim as default program for the files .step, .stl,...) i will check with the development team and let you know.

      Regarding the second issue (when I double click on a SCDOC file in the Windows browser and SpaceClaim is already opened, the file is opened in a new session SpaceClaim and not in a new tab) I checked in both R19.1 and R19.2 version of Discovery SpaceClaim and in both versions, the file opens in a new session. In which version you noticed that the file gets opened in existing SpaceClaim session?

      • acreusot
        Subscriber

        Hello Naresh Patre 

        In my opinion, the file opened in existing session before the Discovery SpaceClaim arrival, so in SpaceClaim Engineer 2017.2.

    • Naresh Patre
      Ansys Employee

      Hello Anais.C

      Regarding the first issue, I have submitted a defect. Following are the defect details for your reference.

      Defect Title: Issue while opening neutral files in Discovery SpaceClaim
      Defect found in Release: R19.2
      Defect ID: CR 204526

    • Brian Bueno
      Ansys Employee

      Anais.C

      I had encountered this issue quite some time ago.  In the past, we resolved it using the following process:

       

      Problem

      Third party files (STEP, IGES, DXF, etc) can no longer be double clicked in Windows to open them automatically in SpaceClaim.

      Attempting to associate the file (i.e. STEP, IGES, etc) with SpaceClaim.exe manually from the Windows list of programs produces no result.  This includes manually browsing to and assigning spaceclaim.exe as the program to use.

       

      Solution

      This issue is related to an outdated value in the Windows registry.  The exact value of the registry key is variable, because each user's PC will have a different string for the user ID.

      The key you need to modify is located in:

      HKEY_USERSSoftwareClassesApplicationsSpaceClaim.exeshellopencommand

      The key itself is just named (Default)

      The highlighted area  will vary from one PC to the next.  It may be necessary to manually browse through multiple folders in order to find the one containing the path shown above.  

      In the case of my PC, the folder is called S-1-5-21-...... where 4 groups of numbers follow, each separated by a " - ".

      You can use Ctrl + F to search the registry, using the option Look at: Data

      We searched for: spaceclaim.exe" "%1"

      This can be copied and pasted to avoid errors.

      There may be multiple entries that turn up that value, but these will be located in folders for other programs, such as ANSYS17, ANSYS18, etc.

      The value of the registry key should be (for the current release):

      "C:Program FilesSpaceClaim 2019.2spaceclaim.exe" "%1"

    • Brian Bueno
      Ansys Employee

      Anais.C

      I just received some updated information from our developer.

       

      The registry key value needs to be set as shown below:

      HKEY_CLASSES_ROOTANSYS v192 .scdoc FileShellopencommand

       

      This will have a Default value that looks something like: "C:Program FilesANSYS Incv192scdmSpaceClaim.exe" "%1"

       

      It should look like

       

      "C:Program FilesANSYS Incv192scdmSpaceClaim.exe" "%1" "/USERUNNINGSPACECLAIM=true"

      • acreusot
        Subscriber

        Brian Bueno 

        I just changed the registry key value but it does not resolve the problem. Now I can’t open .step by double clicking but also .scdoc

    • martin.kopplow
      Subscriber

      That second issue (when I double click on a SCDOC file in the Windows browser and SpaceClaim is already opened, the file is opened in a new session SpaceClaim and not in a new tab) is pretty wide-spread. Since some time we have that on all our machines. It has the great disadavantage that users with network licenses tend to open several sessions, thereby checking out more licenses than intended, and subsequently preventing other users from accessing Spaceclaim.

      The same issue has already been seen some yers ago. I submitted a bug report and Spaceclaim fixed it in the next release. After some release cycles it was back, though, and affected all work stations at once.

      It is NOT A SOLUTION to have individual users change registry keys. A solution would be to write the application so as to properly handle this and not create or leave behind outdates keys. Spaceclaim has already proven it can be done, so have most other software suppliers. It is common behavior for Windows applications to open new documents in new tabs.

      I would greatly appreciate if a consistent general solution could be implemented for all users.

      • Roberto
        Subscriber

        Martin Kopplow  Hi , Were you able to solve the problem? of the double opening of Spaceclaim

      • martin.kopplow
        Subscriber

        Roberto Hi, no we have not solved this issue, not even after a clean reinstall. Another instance is always opened when double-clicking an .scdoc in the explorer, and an empty design tab is also always opened along with the design opened, which makes no sense at all, given a design to open has been specified by that double-click, and nobody needs an unassociated new design then. I've pretty much given up on these two. 

      • Sander van Doesburg
        Subscriber

        When will this be solved it's almost 3 years defect!

        And talked about.

         

        Brian Bueno Naresh 

      • martin.kopplow
        Subscriber

        SAESC Just to confirm: Since we have a lot of people in home office now, we installed Spaceclaim on a few brand new laptops, and on none did it work as desired. Also, with every update, the registry needs to be edited again, which IMO is no acceptable solution, especially if updates are distributed over the network remotely by IT. When I first brought up this issue (some 6 or 7 yerars ago, maybe more), the team came up with a working solution in the next few releases, but after that, it got broken again. Spaceclaim is the only application having this issue I know of. All other applications can have file types associated with them and some even have a check box "Open in new tab" or "Open in new instance" in their settings dialogue. Whoah, how cool is that? 

      • Naresh Patre
        Ansys Employee

        Martin Kopplow SAESC

        Let me look into it and get back to you.

      • Naresh Patre
        Ansys Employee

        Hello Martin Kopplow SAESC

        I have written about this issue to the product manager who is on vacation this week. I will update you as soon as I hear from him next week.

      • Naresh Patre
        Ansys Employee

        Hello Martin Kopplow SAESC

        Apologies for getting back to you late on this query.

        The product manager had a discussion with the development team regarding this issue and suggested me to submit a new defect for this problem so that the development team can look into it. So I have submitted BUG 438860 for this issue. 

      • Sander van Doesburg
        Subscriber

        Naresh Patre 

         

        Thanks Naresh,

         

        Do you have an estimation of when this will be solved?

        This issue is very urgent and important for us.
         

      • Naresh Patre
        Ansys Employee

        SAESC 

        I haven't got any timeline from the development team regarding this bug fixing.

      • Sander van Doesburg
        Subscriber

        Naresh Patre 

        Hi Naresh,

        Can you update us on the status?

      • Naresh Patre
        Ansys Employee

        SAESC 

        I have requested for an update on this bug and will let you know once I hear from the development team.

      • Sander van Doesburg
        Subscriber

        Naresh Patre  Hi Naresh ,

         

        Did you hear already siomething?

        It's almost 3 weeks ago again.. :(

      • Naresh Patre
        Ansys Employee

        SAESC 

        The development team said that the soonest it could be fixed would be for 2022 R1.

    • Brian Bueno
      Ansys Employee

      Anais.C

      Apologies, the value of the registry key was incorrect above.  I have fixed the mistake.

       

      It should be "/USERUNNINGSPACECLAIM=true" using a forward slash /.  Originally the string was using a back slash which was incorrect.  

       

      I have tested both values.  The incorrect one causes a 2nd instance of SpaceClaim to open.  The corrected text opens the design in the same SpaceClaim window.

      • acreusot
        Subscriber

        Brian Bueno 

        Thank you Brian. It works.

        It could be great to resolve it in the following release.

      • Roberto
        Subscriber

        Brian Bueno 

        Hi Brian

        I entered the indicated registry code but after trying to open a scdoc file it gives me this error.

        If I open SpaceClaim first and open the file with open the file is opened and then I try to open a second file does not open the second session and so I’m fine, but I do not understand why I do not want to double click now (I am attaching videos )

        Regards

         

         

        🛈This post originally contained file attachments which have been removed in compliance with the updated Ansys Learning Forum Terms & Conditions

    • Roberto
      Subscriber

      Hi @brian

       

      so to solve the problem of opening directly with the double click I have to do this?

       

      I have to go to this log file /HKEY_CLASSES_ROOTANSYS v192 .scdoc FileShellopencommand)  and insert    "C: Programmi ANSYS Inc v192 scdm SpaceClaim.exe" "% 1" "/ USERUNNINGSPACECLAIM = true"  

      • Roberto
        Subscriber

        Roberto Brian Bueno

      • Brian Bueno
        Ansys Employee

        Roberto 

        This procedure allows SpaceClaim to open the file in the same session, instead of launching a new session and taking a 2nd license.

        For opening other formats such as STEP or IGES when double clicking, you can use this document: 

        FAQ: Configuring Recognition of External CAD Formats in Windows

    • Roberto
      Subscriber

      Hi Brian Bueno

       

      At this point I have to replace the registry key with “C:Program FilesSpaceClaim 2019.2spaceclaim.exe” “%1”?

       

      Regards

       

      • Brian Bueno
        Ansys Employee

        Roberto 
        Yes, the file path needs to point to the current location of the spaceclaim.exe file.  For 2019 R1 this would be:

        C:Program FilesSpaceClaim 2019 R1spaceclaim.exe

        If you are still having problems with this?  Please be aware that you may need to locate the correct folder, as outlined in the document I provided.

        It may be necessary to look through the various HKEY_USERS folders to find the right one.  For example, the folder name may look something like: 

        S-1-2-34-567890123-456789012-345678901-234567

        My search terms look like the image below:

    • Roberto
      Subscriber

      Subashni

Viewing 9 reply threads
  • The topic ‘Define SpaceClaim as default program’ is closed to new replies.