Preview   |   SOLIDWORKS User Forum

 Macro to lock external references during state change?
matt o   |  1 month ago
Open in Forum   

All you need is a SOLIDWORKS ID, or a new or existing 3DEXPERIENCE ID.

Hello all,

I am looking for a way to lock external references when we transition our parts to released through the PDM workflow. We have PDM pro, so I figured a custom Task through PDM would be the way to go. I know how to trigger the script to run during a state change, but I am having trouble getting a macro to work that will lock the references of the file. I have tried using the code from here:

You are not authorized to view this page No results found! Suggestions: Check spelling, try a different search, or browse topics below.