This content has been marked as final. Show 6 replies
Use the 'Set Variable' transition action in your workflow. In the Value editbox you can choose which variable to get data from, so you're effectively copying data from one variable to another.
I will try this idea, but can you confirm that this will "push" the variable value back to the cad file?
For example if sw-current sheet equals 3 then during check in that value is assigned to variable SheetNo then with your idea I can then transfer the value assigned to variable SheetNo inside of pdmwe back to custom property SheetNo in the cad file?
My employers requirement is that the current sheet value be assigned to custom propery SheetNo within the cad file and that same value must be assigned to variable SheetNo inside of pdmwe.
Thanks for your help.
I tested it and it works here.
I appreciate your trying to help but I cannot get this to work.
I cannot get the value assigend to the variable to push back to the custom property in the cad file. The value being assigned to the variable is correct but I also need that value assigned to a custom property in the cad file and that is the part that is not working.
It's working here and these are the steps I took;
Created SheetNo variable. Block: $PRP. Attribute: SW-Current Sheet. Extensions: slddrw.
Created TestSheetNo variable. Block: CustomProperty. Attribute: TestSheetNo. Extensions: slddrw.
Created transaction action on a transition: Type: Set variable. Variable: TestSheetNo. Value: %var_SheetNo%
Created dummy part and drawing. Created 'TestSheetNo' custom property in drawing, set the bogus value to '34'.
Checked in part and drawing.
Changed state using test transition.
Opened file, 'TestSheetNo' now set at '1'.
The custom property you wish to copy to may need to exist.
PDMWE 2008 SP4.
Lee, I was finally able to get this to work by following your instructions.
Thanks for your patience with helping me with this.