I am working on a PCI that can output the needed values to create a correct BLK FORM for Heindenhain.

I have allready made a ASKBOX were the user can type in the desired values for a BLK FORM, and it works great.

However i would like to make this action more automated.
To do that i need a PCI that can read the coordinates from either a Solid or the Stock. The stock would be preferd.

My big issue is that i can´t manage to get the PCI to put out user variables containing the correct values for the Minimum values for XYZ and the maximum values for XYZ from the solid/stock in relation to the CPL.

I have been working with the following commands. how ever they seem to put out wrong data, and when they are finaly right, the data is not in relation to the CPL

%calc=X1=[&XSTART]
%calc=X2=[&XEND]
%calc=Y1=[&YSTART]
%calc=Y2=[&YEND]
%calc=Z1=[&ZSTART]
%calc=Z2=[&ZEND]

Any help would be much appreciated
Best regards ColdCase

Similar Threads: