3 Replies Latest reply on Jul 25, 2016 2:03 PM by Greg Thomson

    Specifying a Configuration when adding a Custom File Reference

    Greg Thomson

      Does anyone have any ideas on how I may specify a configuration when adding a custom file reference?  I don't believe its supported by PDM.

       

      Interestingly enough, after adding a custom file reference, PDM appears to display the 'active configuration' as the referenced config.  I'm not so sure I want to be changing the active configuration on files before referencing them.  I suspect only bad things can happen.  Maybe I could set active reference, add file reference, and then undo check-out on the referenced file?  Not sure.

       

      Thoughts?

       

      Greg,

      EPDM 2016

        • Re: Specifying a Configuration when adding a Custom File Reference
          Charley Saint

          Custom Refs are almost always used for non-configuration based files like word docs and pdf's. I suppose you can do it the other way though and attach a part to a pdf. I checked the API notes in 2017 and didn't see anything there so I doubt there's anything coming. If you really need this then you can look into the table XRefConfiguration where you can see what configuration is attached and modify it if you're bold enough. Make sure an enhancement gets created for this as well.

            • Re: Specifying a Configuration when adding a Custom File Reference
              Greg Thomson

              >>Custom Refs are almost always used for non-configuration based files like word docs and pdf's.

              Do your PDFs reference your drawings or do your drawings reference PDFs?

               

              I use to have the drawing reference the PDF, but felt that wasn't quite right.  So now the PDF references the drawing, and the drawing references the model.

               

              Within my World a configuration in a part/assembly can be another separate part.  I then intercept drawing check-ins and initialize each configuration (i.e. sheet) with its corresponding part (title block) information.  It would be nice if a PDF could reference the actual sheet it renders.  Currently I just store the config name in the PDF as an EPDM variable.

               

              Greg,

            • Re: Specifying a Configuration when adding a Custom File Reference
              Craig Schultz

              Under explorer:

               

              Display --> Options --> uncheck "Set focus to active configuration"

               

              A lot of bad things can happen.....not "only"

               

              Make sure your data card doesn't have "update all configurations" on the variables you wish to control differently in different configurations.