AUTOMATIC LABEL ROOMS

AUTOMATIC LABEL ROOMS

adellll
Enthusiast Enthusiast
613 Views
4 Replies
Message 1 of 5

AUTOMATIC LABEL ROOMS

adellll
Enthusiast
Enthusiast

Hello, I need a simple lisp which lets me select a ROOM  (i.e. a rectangle) in which it will make ROOM LABEL in a CENTER OF ROOM AND I CHOOSE THE LABEL BY PICKED THE NAME IN OPTION'S  COMMAND LINE LIKE  1-BEDROOM 2-WC 3-KITCHEN 4- LIVING 5-DINNIN...........ELC. AND ITS BETTER TO CHOOSE A LOT OF TOGETHER...AND THANKS FOR HELP..

0 Likes
Accepted solutions (1)
614 Views
4 Replies
Replies (4)
Message 2 of 5

Sea-Haven
Mentor
Mentor

Google "label room autocad lisp" so many examples out there, 2nd answer is can use attached in conjunction with Google to choose  label room name.

 

Message 3 of 5

adellll
Enthusiast
Enthusiast

THANKS FOR HELPING ME OUT . I LOAD THE LISP AND I DONOT KNOW HOW  START THE COMMAND .. IS THERE IS (DCL) FILE MUST RUN WITH THIS LSP ...PLS EXCUSE ME THIS 1S THE 1ST. TIME TO DEAL WITH (radio buttons) AND IF YOU SEND ME A LINK OR EXPLANE FOR ME HOW TO USE  (radio buttons) IN STEPS IN AUTOCAD I APPRECIATE YOUR HELP AND THANKS ....

0 Likes
Message 4 of 5

Sea-Haven
Mentor
Mentor
Accepted solution

The DCL is just for select room name. You need the room label part first.

(if (not AH:Butts)(load "Multi Radio buttons.lsp"))
(setq ans (ah:butts 1 "V" '("Choose a room" "BEDROOM" "WC" "KITCHEN" "LIVING" "DINNING"))) ; ans holds the button picked 

 

SeaHaven_0-1703815818908.png

 

 

 

Message 5 of 5

adellll
Enthusiast
Enthusiast

THANKS FOR HELPING ME OUT I APPRECIATE YOUR EFFORT...

0 Likes