Hi all -
I've been trying to figure out how to embed a eDrawings Viewer in an ASP.NET C# Web Application. We use a custom web application (local network) within our factory and I would like the viewer to show an assembly file on pages within the app. Ive looked over several of the sample codes with no luck. Ive also tried searching through the posts and just cant seem to find the answer.
Has anyone done this? Anyone willing to give me a quick how-to? I just need to know what assemblies are needed, the C# code behind and what the ASP.NET/HTML looks like.
I appreciate any help I can get with this.
Thank you,
Ben
SolidworksApi macros
I would insert HTML piece to your ASP.NET application generated dynamically:
Replace red values with values on your system.
____________________________________________________
Regards,
Artem Taturevych, Application Engineer at Intercad (Australia)
translationXpert – add-in to translate SolidWorks models
myIntercad – an integrated tool for SolidWorks Professionals
LinkedIn SolidWorks API Education Group
Thanks for the reply Artem. When I run the program I get a blank page. My path looks like "\\server\folder\folder\file.SLDPRT". I left everything else just as you have it.
Do I need to load the EModelView assembly in my code behind or something?
EDIT: I have been using Chrome. Artems code worked great in IE.
Yes, sorry haven’t mentioned this. At the moment eDrawings viewer is only supported by Internet Explorer.
____________________________________________________
Regards,
Artem Taturevych, Application Engineer at Intercad (Australia)
translationXpert – add-in to translate SolidWorks models
myIntercad – an integrated tool for SolidWorks Professionals
LinkedIn SolidWorks API Education Group
Hi Artem,
Is your solution still available in eDrawing 2019? or there is something done to it ?
I was trying to explore this the other day with no success. I was not able to install the plugin to the browser, it has failed.
well, good to know the conclusion