How do I add a new Physical Property in the Materials DB?

Discussion in 'SolidWorks' started by Ferd Biffle, Jun 13, 2005.

  1. Ferd Biffle

    Ferd Biffle Guest

    I have written a .Net application to centrally manage our Company's
    Materials Database. This application writes out a replacement
    "solidworks materials.sldmat" file containing all of our approved
    Materials. This works great so far, with all users pointed to this main
    database.

    I would like to utilize the Physical Properties section to show a
    reference to the Material ID in the SQL database used by the .Net
    application. This will allow us to write an add-in that accesses data
    in our Agile CM system.

    The problem is that I can't seem to find a unused "physicalproperties"
    element (in the sldmaterials.xsd) where SW doesn't convert the value.
    Both the Poissons (NUXY) and Thermal Expansion (ALPX) elements are
    presented in the Physical Properties window without conversion. I have
    tried all of the unused elements, but all end up as converted values.

    Example: <NUXZ displayname="Material ID" value="53" />
    Becomes: Material ID 0.0341935 N/in^2
    Instead of: Material ID 53

    I have also created a new complextype in the .xsd, and assigned the
    Material ID value to this type. Same result! SW seems to want to
    convert everything but Poissons and Thermal Expansion!

    I have searched high and low trying to find where SW "maps" which
    values to perform conversions on - no dice. So, I am asking for your
    help - how can I make this program behave?!?

    Thanks in advance for your assistance!
    Eric
     
    Ferd Biffle, Jun 13, 2005
    #1
  2. Ferd Biffle

    TOP Guest

    You might want to contact SW API help for something like that. I don't
    think you have to go through the VAR for it.
     
    TOP, Jun 13, 2005
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.