Jump to content
Developer Wiki and Function Reference Links ×

SetOrigin


Recommended Posts

Hello All,

I am working on a script/commnd which uses SetOrigin. When I use it in a document script the rulers reset to the appropriate values. However, when I use it in a menu command the rulers do not reset. In both cases all the coordinates are correct with respect to the new origin, but I'd like to see the rulers reset after the menu command.

Here is an example of what I'm talking about:

Procedure SO;

VAR

mx,my:REAL;

BEGIN

GetPt(mx,my);

SetOrigin(mx,my);

END;

RUN(SO):

This works as a document script, but not as a menu command.

Thanks In Advance,

-Jason

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...