5 Replies Latest reply on Feb 2, 2011 6:14 PM by Tor Iveroth

    Linking MathCAD custom properties in EPDM

    Adam Lanners

      Is it possible to link MathCAD's custom properties to an EPDM data card?

       

      I've tried the obvious of creating a data card and adding attributes with the block type of "CustomProperty" for file extension xmct.

       

      However the data card is blank when I select the MathCAD file. Am I missing something?

       

      Thanks,

      Adam

        • Re: Linking MathCAD custom properties in EPDM
          Raghavendra Bhagavan.S.M

          Dear Adam,

           

          1) Have you created an datacard for .xmct ?

           

          2) I am sure CustomProperty is not the block type for SolidWorks. Hence you need to trace what would be the Blockname.

           

          Post the screen shot of the Mathcad file and the datacard, I think i can help.

           

          Cheers !

          Raghu.

            • Re: Linking MathCAD custom properties in EPDM
              Adam Lanners

              Hi Raghavendra,

               

              1. I have created a datacard for .xmct

               

              2. You are correct that CustomProperty is not the right block type. How would you go about tracing the correct block name?

               

              Here is a screen shot of the MathCad card.

              MathCad Card.PNG

              The Custom Properties in MathCad

              MathCad Custom Properties.PNG

               

              Another note of interest. The xmct file is XML based which EPDM can link to. I attempted to link to the file properties this way but wasn't able to figure out the correct attribute string. I've included a screenshot of the pertinent XML information.

               

              xml.PNG

               

              Thanks for your help.

              Adam

                • Re: Linking MathCAD custom properties in EPDM
                  Raghavendra Bhagavan.S.M

                  Hello Adam,

                   

                  I would suggest you to do the following:

                   

                  1) Open the Number Variable (Which you have used in the mathcad data card)

                   

                  2) Create a new Attribute

                   

                  3) Name the block as customValue and the enter the attribute name ( Type the same as is in the custom properties in the math cad)

                   

                  Ex: Block Name           Attribute Name;

                      customValue            Description

                      customValue            Division

                      customValue            PartNum

                      customValue            Project

                   

                  4) in the file type .xmct

                   

                  And this should work.

                   

                  Let me know on this.

                   

                  Cheers !

                  Raghu.

                    • Re: Linking MathCAD custom properties in EPDM
                      Adam Lanners

                      Hi Raghavendra,

                       

                      Thanks for taking the time to help me out.

                       

                      Unfortunately, customValue did not work for the block name. I set the Variable attributes as follows:

                       

                      number.PNG

                       

                      I attempted a few variations on this but wasn't successful. Are block names case sensitive? Does EPDM only support variable mapping with the applications specified in the Admin Guide?

                       

                      i.e.

                      Microsoft Office

                      AutoCAD

                      Autodesk Inventor

                      SolidWorks

                      Solid Edge

                      Pro/E

                      CALS Raster

                      XML

                      Outlook MSG

                      INI

                       

                      Adam

                        • Re: Linking MathCAD custom properties in EPDM
                          Tor Iveroth

                          Adam,

                          essentially yes, the file types listed in the administration guide are the ones that Enterprise currently support reading/writing properties from.  In order to read properties from a file, an Enterprise PDM file format plugin DLL needs to exist that contains code to understand the file format specifics. Different file formats will need different code, in many cases we need to access some form of API of the format in question which many times need licensing to do making it more complex.  So while ideally it would be great if we had plugins for every possible format, that is not the case.

                           

                          You can of course store, check in and manipulate any type of file in the vault - but you may not get property mappings for all types.

                           

                          There may also be 3d party providers out there that offer custom EPDM file format plugins for formats not supported out of the box.

                           

                          I am not aware of any file format plugin for MathCad though.

                           

                          -Tor Iveroth, PDM support