Jump to content

help with linetype scales


cagri

Recommended Posts

i am adding a new layer using:

 

(command "_.Layer" "_Make" "BETON" "_Color" "yellow" "" "LType" "DIVIDE" "" "")	

 

and generating a line in this layer by:

 

(command "Line" k3 k22"")

 

ltscale is set as 1 for the drawing. however i need this line to have lintype scale of 0.2

 

how can i accomplish that?

 

i actually would like to know if there is any in-line solution for that, e.g. something like that:

 

(command "Line" k3 k22 "LTScale" 0.2 "")

 

i know above line does not work :)

 

thank you!

Link to comment
Share on other sites

Since you have A2013, this new function added to alisp will function... After drawing line add this line :

 

(setpropertyvalue (entlast) "LinetypeScale" 0.5)

 

HTH, M.R.

Link to comment
Share on other sites

Nice to know about marko_ribar

 

Old fashioned way was to use (command "CHPROP" "L" "" "linetypescale" 0.2)

 

For other variable names use dumpit.lsp

eg output

; Layer = "XXXX"

; Linetype = "ByLayer"

; LinetypeScale = 1.0

; Lineweight = -1

; Material = "ByLayer"

; Thickness = 0.0

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...