• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

load and use u line type

  • Thread starter Thread starter Angelo2449
  • Start date Start date

Angelo2449

Guest
Hello everyone,
in a little program I have to expect to use a type of line outlined.
with the command :
(command "_-linetype" "_l" "_hidden0.75" "acad.lin"")
I think of loading the line type > hidden0.75 <.

now how do I use it?
after drawing a line I have to change the properties?
How?
Thank you.
 
(command "_change" group selection "_pr" "_lt" new typeline "")

or

(setq vlaobj (vlax-ename->vla-object nomeentita))
(vlax-put-property vlaobj "linetype" newtypelinea)
 
thanks rpor66,
I have tried in every way (tracts _ yes and no) but it does not work :
(command "_-linetype" "_l" "hidden0.75" "acad.lin"")
....
....
(command "_change" ele1 "_pr" "_lt" "hidden0.75"")

the ele1 element (line) is highlighted and I get error (broken program)
Thank you.
 
when you meet a command type (command ......) to check the operation you can do it step by step; if you type (command "_change") part the command and asks what you need, in the specific case, the selection confirmation, what to change (pr), what property (lt), the name of the line type. Are you sure there's a hidden line0.75?
 
I think, if the command:
(command "_-linetype" "_l" "hidden0.75" "acad.lin"")
load the line type, the same should appear in its list.
This doesn't happen so I think the command doesn't work!
I tried to manually load the line type "hidden0.75",
the command:
(command "_change" ele3 "_pr" "_lt" "_hidden0.75 "")
or
(command "_change" ele3 "_pr" "_lt" "hidden0.75"")
damage error, the line is not changed.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top