cagri Posted August 19, 2015 Share Posted August 19, 2015 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! Quote Link to comment Share on other sites More sharing options...
marko_ribar Posted August 19, 2015 Share Posted August 19, 2015 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. Quote Link to comment Share on other sites More sharing options...
cagri Posted August 19, 2015 Author Share Posted August 19, 2015 that's great! thank you very much. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted August 20, 2015 Share Posted August 20, 2015 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.