Dimscale Zero
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Dimscale Zero

 
Post new topic   Reply to topic    CADForums.net Forum Index -> AutoCAD
Author Message
mlv
Guest





Posted: Thu Sep 29, 2005 4:10 pm    Post subject: Dimscale Zero Reply with quote

I notice that in AutoCAD 14, exiting the Dimension Style dialog box often
(and for no obvious reason) resets the Overall Scale factor (Dimscale) to
zero.

A lot of my lisp routines use the current value of Dimscale to perform some
mathematical function, usually division. When Dimscale is zero, the
routines crash out with a 'Divide by zero' error.

I have added a 'Dimscale Zero' error check to my lisp routines now, but my
question is, under what conditions would the Overall Scale factor (Dimscale)
ever be zero? Is zero ever a valid setting?
--
Mike
-Please remove 'safetycatch' from e-mail address before firing off your
reply-

Back to top
Brian Salt
Guest





Posted: Thu Sep 29, 2005 4:10 pm    Post subject: Re: Dimscale Zero Reply with quote

From R14 Help Files:

********

Type: Real
Saved in: Drawing
Initial value: 1.0000
Sets the overall scale factor applied to dimensioning variables that
specify sizes, distances, or offsets. Also affects the scale of leader
objects created with LEADER.

0.0 AutoCAD computes a reasonable default value based on the scaling
between the current model space viewport and paper space. If you are in
paper space, or in model space and not using the paper space feature, the
scale factor is 1.0.
Quote:
0 AutoCAD computes a scale factor that leads text sizes, arrowhead
sizes, and other scaled distances to plot at their face values.

DIMSCALE does not affect tolerances or measured lengths, coordinates, or
angles.
********

In article <dhgnef$klc$1@box-public-8.jet.uk>,
mike.safetycatchvincent@jet.uk (mlv) wrote:

Quote:

I notice that in AutoCAD 14, exiting the Dimension Style dialog box
often (and for no obvious reason) resets the Overall Scale factor
(Dimscale) to zero.


I have added a 'Dimscale Zero' error check to my lisp routines now, but
my question is, under what conditions would the Overall Scale factor
(Dimscale) ever be zero? Is zero ever a valid setting?
--
Mike
Back to top
mlv
Guest





Posted: Thu Sep 29, 2005 4:10 pm    Post subject: Re: Dimscale Zero Reply with quote

Brian Salt wrote:
Quote:

From R14 Help Files:

Type: Real
Saved in: Drawing
Initial value: 1.0000
Sets the overall scale factor..................
snip

Yes, I had read that.

What I couldn't comprehend was under what circumstances would 0 (zero) be a
valid Overall Scale factor for a drawing.
--
Mike
-Please remove 'safetycatch' from e-mail address before firing off your
reply-

Back to top
Brian Salt
Guest





Posted: Thu Sep 29, 2005 8:00 pm    Post subject: Re: Dimscale Zero Reply with quote

In article <dhh06l$cj$1@box-public-8.jet.uk>,
mike.safetycatchvincent@jet.uk (mlv) wrote:

Quote:

Yes, I had read that.

What I couldn't comprehend was under what circumstances would 0 (zero)
be a valid Overall Scale factor for a drawing.
--
Mike
-Please remove 'safetycatch' from e-mail address before firing off your
reply-

I've tried messing with it set to zero and switching between model and
paper space with a viewport and, so far, have not sussed what's what!

I thought that with it set to zero, then dimensions in model space would
be automatically adjusted, when in a paper space viewport, to suit the
zoom factor, thus avoiding the dimension characters becoming giants.

Hmm.

<FX> Waiting for someone else to chip in...

Brian.
Back to top
Peter Ruehle
Guest





Posted: Fri Sep 30, 2005 6:27 am    Post subject: Re: Dimscale Zero Reply with quote

That will work as expected if you dimension while in the paperspace
viewport. If you dimension while in model space and then switch to
paperspace at some scale other than 1, you have to update all the
dimensions.

"Brian Salt" <briansalt@NScix.co.uk> wrote in message
news:memo.20050929210013.62159A@briansalt.compulink.co.uk...
Quote:
In article <dhh06l$cj$1@box-public-8.jet.uk>,
mike.safetycatchvincent@jet.uk (mlv) wrote:


Yes, I had read that.

What I couldn't comprehend was under what circumstances would 0 (zero)
be a valid Overall Scale factor for a drawing.
--
Mike
-Please remove 'safetycatch' from e-mail address before firing off your
reply-

I've tried messing with it set to zero and switching between model and
paper space with a viewport and, so far, have not sussed what's what!

I thought that with it set to zero, then dimensions in model space would
be automatically adjusted, when in a paper space viewport, to suit the
zoom factor, thus avoiding the dimension characters becoming giants.

Hmm.

FX> Waiting for someone else to chip in...

Brian.
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> AutoCAD All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Contact Us
Powered by phpBB