PDA

View Full Version : Help please - linetype problem.



mark-f1
28th Feb 2008, 04:21 pm
Hi there I am fairly new to the site.

I have a slight problem with the linetypes. They are quite basic just a line space then arrow or zig zag. But randomly the odd one will have the arrow or zigzag offset itself from the line and change direction. I need to know how to rectify this and make the linetypes show the arrows in the right direction. I have tried redraw, match properties, regen and copy but the same problem keeps happening. I am using carlson 2006 which is similar to cad.

Any help would be greatly appreciated.

Hedgehog
28th Feb 2008, 04:26 pm
Is Carlson built onto AutoCAD 2006?

Ritch7
28th Feb 2008, 04:30 pm
there just a built on. http://www.carlsonsw.com/PL_CS_GIS.html

Hedgehog
28th Feb 2008, 04:34 pm
Is it just because the occasional section of line is draw from R to L instead of L to R or vice versa?

mark-f1
28th Feb 2008, 04:39 pm
Is it just because the occasional section of line is draw from R to L instead of L to R or vice versa?
Nope :( Originally thought that.

Unsure about Carlson only been using it 2 months, before that I used AutoCAD LT 04.

Thanks already for the quick replies .

mark-f1
28th Feb 2008, 04:50 pm
Here's an example pic.
The line to the right with the arrow is wrong it should be like the "assumed line" one. I know how to alter the direction but its the linetype actually offsetting the arrow that I'm having problems with.http://i96.photobucket.com/albums/l199/mark_f1/linetypeproblem.jpg

Hedgehog
28th Feb 2008, 04:56 pm
Looks like the linetype scale applied to the particular entities (in properties) is different here... could that be causing the error?

SLW210
28th Feb 2008, 04:58 pm
Can you make the pic a little larger? Have you checked that both have the same LTSCALE?

Try posting the .lin file for that linetype.

mark-f1
28th Feb 2008, 05:01 pm
Looks like the linetype scale applied to the particular entities (in properties) is different here... could that be causing the error?

Just checked and there all at Scale 1.00 in properties, and LTSCALE of 2. Even when I change the Scale to 0.50 in properties the problem remains. :(

SLW210
28th Feb 2008, 05:05 pm
What AutoCAD version are you using?

mark-f1
28th Feb 2008, 05:21 pm
I am using Carlson 2006, similar to AutoCAD 2004 but the commands can vary, and does a few other different things.

Unsure how to post the .lin. but unsure if it is to do with that as I'm the onlt one getting this problem yet this file hasn't been edited.

SLW210
28th Feb 2008, 05:23 pm
Did you try a regen all?

mark-f1
28th Feb 2008, 05:30 pm
Yes regen'd, saved closed and re-opened to no avail. It's a very random error though sometimes it will work sometimes it wont. and when i reopen the drawing i may have to regen some of the lines in order for them to show the linetype right.

Alan Cullen
28th Feb 2008, 05:38 pm
I've never heard of Carlson 2006, however, if you are now working in acad, you may want to use this lisp routine to reverse direction of your polyline. NOTE, it only works with polylines. Ordinary lines can be reversed by clicking to midpoint and rotating 180 degs. Or convert them to polylines

I have no idea who wrote the original. But I love him for doing it..


;;;;;;;;;; REVERSE LINE ;;;;;;;;;;
;; ----------------------------------------------------------------------
;; (Swap endpoints of a LINE object)
;; Copyright (C) 1997 DotSoft, All Rights Reserved
;; Website: www.dotsoft.com (http://www.dotsoft.com)
;; ----------------------------------------------------------------------
;; DISCLAIMER: DotSoft Disclaims any and all liability for any damages
;; arising out of the use or operation, or inability to use the software.
;; FURTHERMORE, User agrees to hold DotSoft harmless from such claims.
;; DotSoft makes no warranty, either expressed or implied, as to the
;; fitness of this product for a particular purpose. All materials are
;; to be considered ‘as-is’, and use of this software should be
;; considered as AT YOUR OWN RISK.
;; ----------------------------------------------------------------------
(defun c:RL ()
(setq sset (ssget))
(setq num (sslength sset) itm 0)
(while (< itm num)
(setq hnd (ssname sset itm))
(setq ent (entget hnd))
(if (= (cdr (assoc 0 ent)) "LINE")
(progn
(setq pt1 (cdr (assoc 10 ent)))
(setq pt2 (cdr (assoc 11 ent)))
(setq ent (subst (cons 10 pt2)(assoc 10 ent) ent))
(setq ent (subst (cons 11 pt1)(assoc 11 ent) ent))
(entmod ent)
)
)
(setq itm (1+ itm))
)
(princ)
)
(prompt
"\nType RL to run command."

Hope it works, if it doesn't, just yell, I will look at it further.

mark-f1
28th Feb 2008, 05:47 pm
Well I found that drawing a line in that area it would always make the arrows displace even once I had regen'd. I have drawn the line in another are of the drawing then stretched and trimmed as required into this area. The linetype once again distorted but once regen's went to how it should. It is a very random error, and effects random lines.

I had earlier tried the polyline and hadn't made a difference.

SLW210
28th Feb 2008, 06:17 pm
Have you tried contacting Carlson?

mahahaavaaha
29th Feb 2008, 02:15 pm
Hi,

have you tried the "Recover - Save - Audit - Save - Purge All -Save" -route?

Seems to me there's a bug in the drawing database!

/Petri