Jump to content

Recommended Posts

Posted

I'm running a script file ".scr" that will add a watermark "DRAWING REVISED" to thousands of obsolete drawings. The script file hangs after the value 0 in the insert command. The program will continue if I enter RESUME in the command line. I've tried, blank lines, 'Resume, other combinations to no avail. I using the cal command (which seems to be the problem) to scale the inserted block as the drawings are all different. Any help would be appreciated.

 

 

 
OPEN c:\dwgsRevised\32402085S00R01.DWG
ZOOM E
cal
p2=getvar(extmax)
cal
p1=getvar(extmin)
INSERT c:\dwgsRevised\dwgrevised 'cal
p2
'cal
round((abs(p2-p1))/15)
'cal
round((abs(p2-p1))/15) 
'cal
0
RESUME
ZOOM E
SAVEAS  c:\dwgsRevised\32402085S00R01.DWG
close

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...