I’ve downloaded and installed the Datasmith Exporter Plugin for Solidworks: UnrealDatasmithRevitExporter_5_0_3.msi
It shows in the Add-in list in Solidworks but I can’t enable it. I check the box to enable it, but when I go back to look at it, it’s always unchecked again. I’ve restarted Solidworks and also rebooted the machine.
I’m using Solidworks Premium 2021 SP5.1
Any idea what I’m doing wrong?
That is not something I have seen reported to us.
Did it ever worked before?
I assume you made a mistake mentioning the revit exporter.
Did you try to uninstall the plugin and reinstall it again?
Can you share what you have in C:\Users\XXX.XXX\AppData\Roaming\SOLIDWORKS\SOLIDWORKS 2021\SolidWorksPerformance.log
Also do you see any messages related to datasmith at the bottom left of solidworks when it is starting or when you are enabling the add-in?
No, I just installed it and it has never worked.
Yes, I made a mistake. I downloaded and installed this:
UnrealDatasmithSolidworksExporter_5_0_3.msi
I have tried to uninstall the plugin and reinstall it. One thing to note is that the machine is managed by our IT dept. The plugin was installed by an admin user and I’m using it as a regular user. Normally this shouldn’t make a difference, but thought I’d mention it.
There are no messages at the bottom left of Solidworks. It allows me to select the checkbox to enable the plugin but when I go back in it’s deselected. The “Unreal Datasmith” file type is there on the Save As dialog, but it does nothing. No file is ever exported. There are 3 Datasmith tabs at the top of Solidworks, so that’s a little weird.
I’ve tried to attach 2 different Performance logs, but it says New User can’t upload attachments, so I’ve put them in Dropbox:
Hello so I did a lot more tests this morning and I thank you for bringing those to our attention as it seems we have stability issues if users enable/disable plugin in session (vs. at startup).
What I observe if I load plugin in session:
- I do get the udatasmith option to export but no file is exported => that is the behaviour you reported
- I get datasmith tab but the direct link buttons are greyed out (not expected behaviour)
I logged those bugs in our internal system but it will take time to get a fix.
We did not notice those as everyone was having the plugin loaded at startup.
Now, to register the “startup” option, Solidworks will write in registry at the position
Computer\HKEY_CURRENT_USER\SOFTWARE\SolidWorks\AddInsStartup
Writing at this registry position should be accessible to you even if you are not admin on your machine so I do not know what is failing.
Is changing the “startup” option on other addins registered properly when you restart?
If not it is some issue on your system to check with your IT staff => Solidworks failing to edit add/remove a registry key.
Hello,
I checked the registry key
Computer\HKEY_CURRENT_USER\SOFTWARE\SolidWorks\AddInsStartup{6D79A432-9AA3-4457-AEFD-ADE6F2B17CCE}
and it is set to “1”, so it’s supposed to autoload.
However, when looking in Solidworks, the Add-in SolidworksDatasmith is always unchecked.
Is there anything else to check?
When you load, both the plugin and the startup check box are unticked?
those two ticked boxes in my case
In C:\Program Files\Epic Games\Solidworks Exporter do you have those 4 files (size might be different as I am using a different version of exporter)
Do you have this folder in registry Computer\HKEY_LOCAL_MACHINE\SOFTWARE\SolidWorks\AddIns{6d79a432-9aa3-4457-aefd-ade6f2b17cce}
It is out of my reach now, I will pass all those info to dev and hope he can reproduce.
Hello,
Every time I restart SW, both boxes are unticked, even after I check them both off before restarting.
I have the same 4 files in C:\Program Files\Epic Games\Solidworks Exporter:
(Dropbox - Screen Shot 2022-07-28 at 10.06.01 AM.png - Simplify your life)
Yes, I have that registry key:
Computer\HKEY_CURRENT_USER\SOFTWARE\SolidWorks\AddInsStartup{6D79A432-9AA3-4457-AEFD-ADE6F2B17CCE}
(Dropbox - Screen Shot 2022-07-28 at 10.05.01 AM.png - Simplify your life)
If you tick another addin “start up” check box. Does Solidworks remembers it and load the add in when you restart it?
Yes, I can enable any of the other Add-ins and Solidworks remembers it and loads it the next time I start it up.
Hi Peter ! Sorry for the long delay on this… Were you able to find a solution for this issue loading the Datasmith exporter ?
If not, can you try using Dependency Walker ( https://www.dependencywalker.com/ ) on the plugin’s dlls ?
Specifically SolidworksDatasmith.dll and DatasmithFacadeCSharp.dll (second one being the most important)
The dlls can be found at the path “C:\Program Files\Epic Games\Solidworks Exporter”, and the dependencies for DatasmithFacadeCSharp.dll should be as following :
Any differences could mean you do not have the right dependencies on your installation.
Thanks !
Cheers,
Antoine
Hello Peter,
were you able to solve this? I also am in a similar situation - and Solidworks is behaving exactly the same. I checked the dependencies, also correct.
Did you find out what the problem was?
thanks
David
Solution: The problem was that the UE4 prerequisities weren’t installed. SW won’t allow you to activate the plugin. Just install them and maybe reinstall the plugin, then it’ll work.
1 Like
Yes, we are going to change that on a upcoming release.