Zoom Center in Script

Zoom Center in Script

Neil47
Enthusiast Enthusiast
1,141 Views
2 Replies
Message 1 of 3

Zoom Center in Script

Neil47
Enthusiast
Enthusiast

I have the following lines in a script file (to zoom and scale a viewport) using Civil 2020

 

zoom
center
289633.75,954295.65
0.4xp

 

But I do not get the expected result of zoom to coordinates and scale. AutoCAD prompts "No Center found for specified point. Specify second point:"

 

Trying at the Command line I enter Zoom, Center and am prompted "ZOOM of" and again this does not accept X,Y coordinates

 

If I try the Command line shortcuts Z, C I am prompted "ZOOM Specify center point:" and this does accept the X,Y coordinates but working with the Script only allows me to use full words ZOOM and CENTER.

 

Is there a way of working with coordinates when prompted "ZOOM of"?

 

0 Likes
Accepted solutions (1)
1,142 Views
2 Replies
Replies (2)
Message 2 of 3

ВeekeeCZ
Consultant
Consultant
Accepted solution

Try just 'c' instead of 'center'. It's taking a center osmode for some reason.

 
Message 3 of 3

Neil47
Enthusiast
Enthusiast

Thank you -

0 Likes