Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IS IT POSSIBLE AUTOCAD TO EXCEL

9 REPLIES 9
Reply
Message 1 of 10
DINGUBOY
809 Views, 9 Replies

IS IT POSSIBLE AUTOCAD TO EXCEL

(DEFUN C:VGJ()

(SETQ

OBJ(CAR(ENTSEL))

VOBJ(VLAX-ENAME->VLA-OBJECT OBJ)

LA(VLA-GET-TEXTSTRING VOBJ)

TE "ST 64P"

WC "WC 45"

)

(IF(= LA TE)

(PROGN

 

(vla-put-TextString VOBJ "Smeralda calacutta marble polished finish 140mm high with 10mm shadow gap")

 

)

(IF(= LA WC)

(PROGN

 

(vla-put-TextString VOBJ "Fabric wrapped wall panels")


)

 



(alert "PLSE SEARCH THE FILE")

)

 

))

 

 

 

i create the program for BOQ . I WANT I ENTER THE STRING (GETSTRING :"\n ENTER NAME OF MATERIAL:"  ST 64P) ITS WILL BE SEARCH IN EXCEL FILE  AND TAKE THE MATERIAL NAME IN EXCEL AND CHANGE THE TEXT IN AUTOCAD FROM NAME OF   MATERIAL  IN EXCEL.



 

Tags (1)
9 REPLIES 9
Message 2 of 10
devitg
in reply to: DINGUBOY

Please upload the DWG .

Message 3 of 10
DINGUBOY
in reply to: devitg

 
Message 4 of 10
DINGUBOY
in reply to: devitg

THANKS FOR URS QUICK REPLY
Message 5 of 10
DINGUBOY
in reply to: devitg

I SEND THE DRAWING FILE DEVITG PLSE ANSWER IT IS IT POSSIBLE OR NOT
Message 6 of 10
devitg
in reply to: DINGUBOY

I´m trying to , please contact me.

 

 

Message 7 of 10
devitg
in reply to: DINGUBOY

Your DWG it is not a true real sample , the code  ST 32P do not belong to any at  the xls .

 

 

Message 8 of 10
vladislav.babich
in reply to: DINGUBOY

Hi Dinguboy,

 

I have some expiriens with communication to excel from AutoCAD. 

 

I use activeX. 

 

See a code example in attach.

Keep praying.
Tags (1)
Message 9 of 10
devitg
in reply to: vladislav.babich

vladislav.babich

 

At least one defun is missed  

 

Range->data

 

 

Message 10 of 10
vladislav.babich
in reply to: devitg

Thanks to devitg,

 

It should be OK now.

Keep praying.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost