Jump to content

linetype scale issue


jt6572

Recommended Posts

hi guys,

i have been looking for a solution to a linetype scale issue i have:

i have a double barrier line marking layer (centre of roads) that has a linetype of a double line (crudely ============ ). at a ltscale of 1 this only ever plots out as a single line. its been driving me crazy and the only thing i can think of to fix it is to isolate the layer and change all polylines within it to have a ltscale of 2 or 3 as this plots out correctly.

i have been hoping to source or edit a lisp that will change the ltscale of just this single layer, or of only objects on this layer.

 

even some way to isolate the given layer, change the ltscale of all those objects, turn all layers back on would be great.

 

i am nigh on illiterate when it comes to lisp, so would really appreciate any help.

 

thank you. :)

Link to comment
Share on other sites

hi guys,

i have been looking for a solution to a linetype scale issue i have:

i have a double barrier line marking layer (centre of roads) that has a linetype of a double line (crudely ============ ). at a ltscale of 1 this only ever plots out as a single line. its been driving me crazy and the only thing i can think of to fix it is to isolate the layer and change all polylines within it to have a ltscale of 2 or 3 as this plots out correctly.

i have been hoping to source or edit a lisp that will change the ltscale of just this single layer, or of only objects on this layer.

 

even some way to isolate the given layer, change the ltscale of all those objects, turn all layers back on would be great.

 

i am nigh on illiterate when it comes to lisp, so would really appreciate any help.

 

thank you. :)

 

This really needs a new Thread.

A simple lisp to change this would be:

(command "CHPROP" (ssget "X" (list (cons 8 "LayerName"))) "" "Scale" "3" "")

Link to comment
Share on other sites

hi guys,

i have been looking for a solution to a linetype scale issue i have:

i have a double barrier line marking layer (centre of roads) that has a linetype of a double line (crudely ============ ). at a ltscale of 1 this only ever plots out as a single line. its been driving me crazy and the only thing i can think of to fix it is to isolate the layer and change all polylines within it to have a ltscale of 2 or 3 as this plots out correctly.

i have been hoping to source or edit a lisp that will change the ltscale of just this single layer, or of only objects on this layer.

 

even some way to isolate the given layer, change the ltscale of all those objects, turn all layers back on would be great.

 

i am nigh on illiterate when it comes to lisp, so would really appreciate any help.

 

thank you. :)

 

Simply copy the linetype in acad.lin or acadiso.lin add ×2 to the name and double all the numeric values and you have an identical linetype to load that works at a ltscale of 1. Assign that linetype in your template files and you will never have the issue again.

Link to comment
Share on other sites

Simply copy the linetype in acad.lin or acadiso.lin add ×2 to the name and double all the numeric values and you have an identical linetype to load that works at a ltscale of 1. Assign that linetype in your template files and you will never have the issue again.

 

brilliant. thanks very much tombu.

 

apologies for not creating a separate thread for this - have been criticised on another forum for creating them when there are others and guess im a bit hesitant... :oops:

Link to comment
Share on other sites

This really needs a new Thread.

A simple lisp to change this would be:

(command "CHPROP" (ssget "X" (list (cons 8 "LayerName"))) "" "Scale" "3" "")

 

...this is pretty awesome. using it now - thanks very much!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...