Monday, May 21, 2012

Worket Custom Function

Here is how to create a custom function to manipulate 2 or more cuts in a workset in LODESTAR 1.6
Files needed to change:
FuncProg2.asp
functions.xsd
dictionary.dic
Function.asp
FunctionCuts.xslt

To add scalar operators: add to:

 


































To create the custom function, add this to the functions.xsd file.

                 
            Cut2 = CreateCopy();
            
       
       
            
              
              
              
              
              
              
              
              
              
              
            
            
        

cut 1 = current cut
cut 2 = cut that is created after math operation
cut 3 = second selected cut for operation
New Function in funcprog2.asp

No comments:

Post a Comment