VERICUT Users' Forum

Due to relentless spammers, we are no longer automatically accepting new forum registrations. If you wish to register for this forum, please send an e-mail to: info@cgtech.com

You are not logged in.

#1 2006-01-13 20:22:49

tri
Member
From: MA
Registered: 2005-11-28
Posts: 17

ChangeWorkCoord...macro

Does anyone know the syntax format for "ChangeWorkCoord" macro?

G15 H03 ......... (H03 = 10 12.675 1)
This is the code from the program. Ex:: VC6 = 12.675

CALL O1503
VZOFY[3]=VC6-5.750
CALL O1503

I have VZOFY define as array variable
When it read to the line VZOFY[3]=VC6-5.750.
VZOFY[3] variable = to 6.925
Then it will shift workcoord to 10 6.925 1

Word Format:::
VZOFY  Special   Vairable Name
VZOFX  Special   Variable Name

Variable:::
VZOFY[25]
VZOFX[25]

What do I need to do for it to regconize the VZOFY variable, work index no. [3] and in the same time shift Y-axis down by 5.750.

There are::
-- WorkCoordIndex
-- WorkCoordXValue
-- WorkCoordYValue
-- ChangeWorkCoord
But which to use and how to use is the problem...

It would be better if there is example of syntax for every macro in the help file.

Thanks,

Offline

#2 2006-01-16 18:56:05

tri
Member
From: MA
Registered: 2005-11-28
Posts: 17

Re: ChangeWorkCoord...macro

I got everything straighten up...

Offline

#3 2011-10-25 13:50:45

Smythe
Member
From: Clinton,Ohio
Registered: 2005-12-15
Posts: 42
Website

Re: ChangeWorkCoord...macro

Hello,
I am looking to do something similar with a variable array and pass it to work offset locations. Would you mind passing along the details?

Thanks,
Eric

Offline

Board footer