Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom Material Properties question

Status
Not open for further replies.

darnell

Mechanical
Jun 24, 2003
79
I accidently misspelled an alloy name when I was adding a new one. How can I delete this from my custom material properties database? The button says edit/create but when I went to change it, it just added the correct spelling along with the misspelled one. Am I missing something obvious?

Thanks in advance!
 
Replies continue below

Recommended for you

darnell,
Just a guess. Find the file using explorer, copy it to someplace safe. Open the file in notepad, change the spelling and save it. If this does not work, put your copy back.


Bradley
 
Go to - C:\Program Files\SolidWorks\lang\english\sldmaterials - Or your File location of your *.sldmat file

Find the database file and open it with Notepad. You can either edit there, or remove the material.

Regards,

Scott Baugh, CSWP [pc2]

For all Newbie's - Welcome to the nerd herd![laughtears]

faq731-376
 
I did do that but I saw a lot of squares which I thought meant that file was encoded. I will try it and see. It seems to me that if the button says create/edit, you could rename or delete soemthing that has been added

Thanks again
 
Well I just open up my custom DB (SW04) and I can edit any of the Material Class's or Material Name's. But by editing them It creates a new one.

There isn't a way of removing them though from the DB once you put them in. - The remove is meant for you to remove the material from off the part. - See help on this.

To remove one you will have to edit the file itself. Those [] "Square zero" looking things are to be kept in there. It does make it hard to read but I wouldn't remove them unless you are removing and entire material.

Regards,

Scott Baugh, CSWP [pc2]

For all Newbie's - Welcome to the nerd herd![laughtears]

faq731-376
 
Good--this file can also be opened and edited in Excel.

Bad--it's unusable after saving. Excel must add some invisible junk or something that corrupts it. I wonder if saving in different ways from Excel would keep it usable?

I may try to figure this out--to me, it would be easier to edit everything in Excel. Just thought I'd throw that out. Thanks,

Brian
 
ok,
still something i'm not getting. when you edit a material database file (.sldmat) whatever you use to edit, you can't save it as a .sldmat file. Even if you don't change anything at all, and just make a new one, it will not re-open (at least for me and people where i work) in solidworks.
i tried saving it as excel, word, text, whatever, then renaming it, but it never works. just an error when you try to choose the "newly edited" database file.
can someone do a step by step of how to change the spelling on a material, then the proper way to get the updated .sldmat file to work??

Thank you
 
I should be able to edit the file with Wordpad (no squares or funny characters). It saves OK with the modified data (you should maintay data structure for newly inserted materials).

If you're not able to do this, you must have another problem (is SW closed when you are editing the file? have you permissions the edit the file?)

Good Luck
 
Sorry, my last post should start with "You should be able..."

Regards
 
If you edit it with Notepad you just click "Save", if you want to change the name. Do a File\Save as and change the "Save as type" to "All files" and then you pick another*sldmat and change the file name, or just type it in. Either way you must keep the file extension of *.sldmat.

Regards,

Scott Baugh, CSWP [pc2]
3DVision Technologies


faq731-376
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor