×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Custom Material Properties question

Custom Material Properties question

Custom Material Properties question

(OP)
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!

RE: Custom Material Properties question

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

RE: Custom Material Properties question

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
http://www.3dvisiontech.com
http://www.scottjbaugh.com

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

FAQ731-376

RE: Custom Material Properties question

(OP)
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

RE: Custom Material Properties question

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
http://www.3dvisiontech.com
http://www.scottjbaugh.com

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

FAQ731-376

RE: Custom Material Properties question

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

RE: Custom Material Properties question

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

RE: Custom Material Properties question

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

RE: Custom Material Properties question

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

Regards

RE: Custom Material Properties question

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
3DVision Technologies

http://www.3dvisiontech.com
http://www.scottjbaugh.com

FAQ731-376

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources