dim text alignment
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
dim text alignment
Goto page 1, 2  Next
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Drafting
Author Message
kellerkid
Guest





Posted: Thu Dec 16, 2004 7:10 pm    Post subject: dim text alignment Reply with quote

We are using dimstyles w/ the text aligned with the dimline. I am looking for the system variable that controls text placement when text does not fit between extension lines. There is an unequal offset between text and dimline, depending on which direction the dim is pulled to .... Example: If dim line is below text (or right of), they are in closer proximity than if dim line is above text (or to the left)....Thanks

Back to top
Dean Saadallah
Guest





Posted: Thu Dec 16, 2004 8:01 pm    Post subject: Re: dim text alignment Reply with quote

To find most dim variable names, go to DDIM command>Modify button, find what
you want to do in one of the tabs, hit that HELP button on the pop-up, go to
the appropriate tab, it's there.

--
Dean Saadallah
Add-on products for LT
http://www.pendean.com/lt
--
Back to top
Walt Engle
Guest





Posted: Thu Dec 16, 2004 10:16 pm    Post subject: Re: dim text alignment Reply with quote

Check our DIMTMOVE. Default is 0 (zero) but 1 and 2 are of interest.

Back to top
kellerkid
Guest





Posted: Thu Dec 16, 2004 11:06 pm    Post subject: Re: dim text alignment Reply with quote

dimtmove is the closest value I can find, but not exactly what I'm looking for. When I pull a dim above or to the left of an object, and the text wont fit between the ext. lines, it is reasonably close to the dim line (what I consider reasonable). If I pull a dim off to the right or below the same object, and the text wont fit between, the default position is farther away from the dim line, about twice the distance... Could it be a text issue? Default text style is simples.shx w/ 0.0 ht
Back to top
Walt Engle
Guest





Posted: Thu Dec 16, 2004 11:14 pm    Post subject: Re: dim text alignment Reply with quote

As an aside, don't use simplex. Romans is closest to single stroke Gothic (the type of text ANSI dictates). Try Dimtmove 1 which will allow you to have a leader with your text. Note: if you already have dimensions, you will have to Update those that you want to use Dimtmove 1 with. Dimtmove 2 lets you move dim text without leader. Once having moved text where you want, re-set Dimtmove to 0 (zero) otherwise all future dimension text will be set to the Dimtmove you changed from the default.
Back to top
kellerkid
Guest





Posted: Fri Dec 17, 2004 1:51 am    Post subject: Re: dim text alignment Reply with quote

It must be embedded in the program. Standard dimstyle does it too...Draw a square and dimension it on all sides, at a scale that forces the text from betewwn the ext. lines. Is the text of the dims on top and left not pushed closer to the dimlines than bottom and right? I dont know the variable names, but below are my current settings.

Text is aligned w/ dimline
Text moves first if not fitted between
Text is above dimline w/o leader

I think I have to much time on my hands today...

Thanks
Back to top
lsaapedd
Guest





Posted: Sat Dec 18, 2004 7:01 am    Post subject: Re: dim text alignment Reply with quote

Quote:
As an aside, don't use simplex.

What's wrong with simplex?
Back to top
Walt Engle
Guest





Posted: Sat Dec 18, 2004 7:44 am    Post subject: Re: dim text alignment Reply with quote

ANSI dictates that font should be single stroke gothic. Simplex is not
even close whereas Romans is. Simplex was developed in the beginning
when ram was 68Kb and it took forever to regenerate Romans (or any other
more complicated font). I don't have an argument with anyone using
Simplex as long as they are satisfied with 5th grade font. My opinion.
Back to top
Bill DeShawn
Guest





Posted: Sat Dec 18, 2004 11:47 am    Post subject: Re: dim text alignment Reply with quote

Two things:
There are two simplexes. SIMPLEX.SHX and SIMPLEX_.TTF. The TTF file will
most assuredly regenerate slower than the SHX version.

Also,
Here is a routine that I made up and use for text placement of a dimension.
If I want it one way, I comment it out the appropriate line with a
semi-colon. If I want the other way, I switch placement of the semi-colon.

(defun c:mvd (/ dtmv ortho ent)
(setq dtmv (getvar "dimtmove"))
(setq ortho (getvar "orthomode"))
(setvar "orthomode" 1)
(prompt "\nPick dimension text to move: ")
(while (null ent) (setq ent (entsel)))
(command "dim1" "_.restore" "" ent "dimupt" "1" "dimfit" "5" "dim1"
"_.update" ent "")
;the one above or the one below.
; (command "dim1" "_.restore" "" ent "dimtmove" "1" "dim1" "_.update"
ent "")
(command "dimtedit" ent)
(while (= (getvar "cmdactive") 1)(command pause))
(setvar "orthomode" ortho)
(setvar "dimtmove" dtmv)
(princ)
)



--
Bill DeShawn
bdeshawn@nospamsterling.net
http://my.sterling.net~bdeshawn

"Walt Engle" <wengle@houston.rr.com> wrote in message
news:41C39979.CD79B8F9@houston.rr.com...
Quote:
ANSI dictates that font should be single stroke gothic. Simplex is not
even close whereas Romans is. Simplex was developed in the beginning
when ram was 68Kb and it took forever to regenerate Romans (or any other
more complicated font). I don't have an argument with anyone using
Simplex as long as they are satisfied with 5th grade font. My opinion.
Back to top
teiarch
Guest





Posted: Sat Dec 18, 2004 10:49 pm    Post subject: Re: dim text alignment Reply with quote

Walt: IF you examine the coding in the SHP file for Simplex vs. RomanS, you'll find that the main difference between the two is the start point of the characters.

Romans characters have a little leading space; Simplex characters don't.

Or perhaps I'm looking at something different than what you call Simplex?????
Back to top
Tracy W. Lincoln
Guest





Posted: Sun Dec 19, 2004 6:34 am    Post subject: Re: dim text alignment Reply with quote

Walt,

I think you meant TXT.SHX not Simplex... also my first PC had a whole 64KB
not 68KB.

--
Tracy W. Lincoln - TLConsulting
http://TLConsulting.blogspot.com/
Consulting, Design & Training Specialist
Autodesk Discussion Group Facilitator

"Walt Engle" <wengle@houston.rr.com> wrote in message
news:41C39979.CD79B8F9@houston.rr.com...
Quote:
ANSI dictates that font should be single stroke gothic. Simplex is not
even close whereas Romans is. Simplex was developed in the beginning
when ram was 68Kb and it took forever to regenerate Romans (or any other
more complicated font). I don't have an argument with anyone using
Simplex as long as they are satisfied with 5th grade font. My opinion.
Back to top
Walt Engle
Guest





Posted: Sun Dec 19, 2004 6:40 am    Post subject: Re: dim text alignment Reply with quote

"Tracy W. Lincoln" wrote:

Quote:
Walt,

I think you meant TXT.SHX not Simplex... also my first PC had a whole 64KB
not 68KB.

--
Tracy W. Lincoln - TLConsulting
http://TLConsulting.blogspot.com/
Consulting, Design & Training Specialist
Autodesk Discussion Group Facilitator

"Walt Engle" <wengle@houston.rr.com> wrote in message
news:41C39979.CD79B8F9@houston.rr.com...
ANSI dictates that font should be single stroke gothic. Simplex is not
even close whereas Romans is. Simplex was developed in the beginning
when ram was 68Kb and it took forever to regenerate Romans (or any other
more complicated font). I don't have an argument with anyone using
Simplex as long as they are satisfied with 5th grade font. My opinion.
Back to top
Walt Engle
Guest





Posted: Sun Dec 19, 2004 6:49 am    Post subject: Re: dim text alignment Reply with quote

You are correct, however, simplex is still lacking ANSI protocols and just
after I replied I realized I typed incorrectly - meant 64Kb.
Back to top
teiarch
Guest





Posted: Mon Dec 20, 2004 1:06 am    Post subject: Re: dim text alignment Reply with quote

Walt: Could you expand on "...lacking ANSI protocols..."? Not being acquainted with these, would like to hear more. or is there a site where I can educate myself on this topic.

Thanks.
Back to top
Walt Engle
Guest





Posted: Mon Dec 20, 2004 2:56 am    Post subject: Re: dim text alignment Reply with quote

See my previous - single stroke Gothic font, per Goetsch textbook on drafting.
ANSI also dictates that text height be 1/8".
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Drafting All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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
Powered by phpBB