Fill / Edit block attributes of a multileader with autolisp

Fill / Edit block attributes of a multileader with autolisp

Anonymous
Not applicable
1,505 Views
5 Replies
Message 1 of 6

Fill / Edit block attributes of a multileader with autolisp

Anonymous
Not applicable

Hi all,

 

I created a multileader with a attributed block content. 

I will use this multileader style in my autolisp with (COMMAND "MLEADER" point1 point2 ... )
I enter point1 point2 then Edit Attribute window pops up on screen.

How can i fill or pass blank these attribute lines in autolisp? How should i continue?

 

(command "cmleaderstyle" "EI_2.5MM_ATT") ;attribute style selected
(command "mleader"
 point1
 point2 ;after entering two point coordinates what should i do? 

 

 

 

Ekran Alıntısı 01.PNG

 

 

0 Likes
Accepted solutions (1)
1,506 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable

Hi @Anonymous 

 

0 Likes
Message 3 of 6

Anonymous
Not applicable

I will use this lisp to create more complex lisps.

0 Likes
Message 4 of 6

pbejse
Mentor
Mentor
Accepted solution

@Anonymous wrote:

How can i fill or pass blank these attribute lines in autolisp? How should i continue?


If you set this two system variable,  Attdia = 0 and Attreq = 1 then you can you supply the attribute values like this

(command "mleader" point1 point2 "1" "2" "3" );<-- the values for the attributes 

HTH

 

0 Likes
Message 5 of 6

ronjonp
Advisor
Advisor

Plenty of examples HERE. Newer version HERE.

0 Likes
Message 6 of 6

Anonymous
Not applicable

 That works! Thank you.

0 Likes