Cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Re: Open Save macro that will update a BOM on a draft file

Gears Honored Contributor Gears Honored Contributor
Gears Honored Contributor

Oh, OK I didn't realise you just need the modified executable.

It seems you are using ST9, but I hope this should still work, since I could test using only ST8:

  

Open the \Custom\OpenSave\bin\Debug folder.

Backup your existing OpenSave.exe and OpenSave.exe.config files

Extract the files from the attached zip to the above folder.

Overwrite the Config file

Change extension of the .ex_ file to .exe

This is your new exe with the Update BoMs check box.

 

Let me know if you face any issues.

I am online for another hour after the time of this message and again after 10 hours.

 

Re: Open Save macro that will update a BOM on a draft file

Valued Contributor
Valued Contributor

I am on ST9.  I got the dialog to open correctly.  Thank you very much!  I just need to try it out now.

Re: Open Save macro that will update a BOM on a draft file

Gears Honored Contributor Gears Honored Contributor
Gears Honored Contributor

Any update on whether the modified macro updated BoMs?

Re: Open Save macro that will update a BOM on a draft file

Valued Contributor
Valued Contributor

It ran fine as long as the links were not broken.  I ran it on two test files and recieved the following error message...(I believe the message is expected if the dft has broken links)?

 

Clarifying Note - one of the test files had a broken link and the other did not.  It did not process either file once it found the one with the broken link.  If I just run it on the non-broken link dft it ran fine.)

 

error.JPG

Re: Open Save macro that will update a BOM on a draft file

Gears Honored Contributor Gears Honored Contributor
Gears Honored Contributor

By broken links, do you mean - right clicking on a Drawing View and Convert to 2D View ?

Not seeing the problem here even after the above command.

Re: Open Save macro that will update a BOM on a draft file

Valued Contributor
Valued Contributor

No, the broken links I'm referring to are caused by us adding and "x" to the end of the .par, .psm, or .asm filename once the part is no longer to be used.  That causes the DFT file to not be able to find the fille.  I realize that we could use design manager to rename the 3D files, but we're okay with just renaming it right from Explorer.  Once a new revision is on place we either add the x to the old files and/or move them to our obsolete folder.  All drafts revisions remain in our production folder for ease of access when record searching.

Re: Open Save macro that will update a BOM on a draft file

Gears Phenom Gears Phenom
Gears Phenom

Hi @Tushar

 

Would you tell me please where may I find the .exe file for this macro OpenSave?

I downloaded this .zip pack, but I dont know how to add those files.

 

thanks for help,

 

Arek

 

 

 

Re: Open Save macro that will update a BOM on a draft file

Gears Honored Contributor Gears Honored Contributor
Gears Honored Contributor

Hi Arek:

 

I checked the original attachment and found I have shared the source files for those who might be interested.

The projects needs to be compiled using Visual Studio and I have atatched the exe with this message.

Extract the zip file, ideally to the same location as the original sample that comes with Solid Edge i.e.

\Program Files\Solid Edge STx\Custom\OpenSave\bin\ folder

Then run the program:

OpenSave_UpdateBoMs.exe

 

Regards,

Tushar

 

Re: Open Save macro that will update a BOM on a draft file

Gears Phenom Gears Phenom
Gears Phenom

@Tushar  is there any chance of maybe getting a version of this that works in SE2019? I used this all the time, but I can't get this to work since switching over to 2019. I get errors before I can even have it run, and then also when I tell to browse to folder, and then when I click process.

Solid Edge 2019
Windows 7 Professional
Nvidia K2200 & Intel Xeon
"You're doing it wrong"

Re: Open Save macro that will update a BOM on a draft file

Gears Honored Contributor Gears Honored Contributor
Gears Honored Contributor

Hi @nominus38 

 

Please try the updated program for Solid Edge 2019 in the attached zip file.

 

Regards,

Tushar