Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dimstyle Units Conversion

1 REPLY 1
Reply
Message 1 of 2
Anonymous
301 Views, 1 Reply

Dimstyle Units Conversion

I'd be interested in your opinion.

I'm converting a standard dimstyle from
architectural english units to
engineer's (decimal feet) and meters
with a lisp called Plotscale. What I
found is that if I want to use an
existing predefined dimstyle as a
template, it's necessary to set the
dimscale to an odd number that includes
a conversion factor from inches to: feet
or meters. This works just fine but it
might seem hopelessly odd to someone who
is accustomed to working in meters or
decimal feet.

If I were to take a more universal
approach, there are several dimvars to
be set individually like text size,
dimgap, arrow size, etc. These would be
fixed in the code. With the biased
approach we are free to tweak these in a
single architectural template & have
them reflected in any dimstyle created
with the plotscale command. The really
weird thing though is that an engineer's
drawing at 1:1 ends up having a dimscale
of 0.08333 (1/12).

What do engineers use for ltscale?
0.08333? I use ltscale 1 for dimscale 1
in architectural units. Some folks use
0.3 in architectural units which would
be 0.025 in decimal feet. I'm aware that
there is a metric variable that uses
alternate linetype & hatch source files
but this seems like another messy
solution to the unit conversion issue.

... grasping for consistency &
sensibleness ...
... not wanting to set it up wrong ...

either:
dimscale with a conversion factor

or:
normal dimscale and...
DIMVAR METRIC INCH FEET
dimasz 0.0025 0.125 0.0104
dimcen 0.0025 0.125 0.0104
dimexo 0.0010 0.0625 0.0052
dimrnd 0.0100 0.0625 0.0052
dimtxt 0.0025 0.1000 0.0083
dimgap 0.0010 0.0500 0.0043
1 REPLY 1
Message 2 of 2
mid-awe
in reply to: Anonymous

I am interested this as well. Any updates?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

”Boost