Solid Edge VBScript

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
Grovkillen
Automation Wizard
Posts: 1009
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Solid Edge VBScript

Post by Grovkillen » Fri Apr 21, 2023 6:25 am

I'm having no problem controlling Solid Edge using GetObject(,"SolidEdge.Application"). But now I need to do some changes in files without opening the files in the application but I have a hard time loading modules. Is there anyone who knows how to do this?

Here's the code snippet I want to get working: https://docs.sw.siemens.com/documentati ... lcome.html
Let>ME=%Script%

Running: 15.0.24
version history

User avatar
Grovkillen
Automation Wizard
Posts: 1009
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Re: Solid Edge VBScript

Post by Grovkillen » Mon Apr 24, 2023 11:01 am

Ok, so I have now worked this out but I had to go the C# route (first time for me) and I now have an console app which is self-contained with all the .NET junk + SolidEdge SDK. Good part is that I can now have it running on the file server without the need to have SE installed. Yay! :)
Let>ME=%Script%

Running: 15.0.24
version history

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts