Lisp with EXPORTPROPERTYDATA (AUTOCAD ARCHITECTURE)

Lisp with EXPORTPROPERTYDATA (AUTOCAD ARCHITECTURE)

felix.corre
Advocate Advocate
1,519 Views
5 Replies
Message 1 of 6

Lisp with EXPORTPROPERTYDATA (AUTOCAD ARCHITECTURE)

felix.corre
Advocate
Advocate

Hi,

 

With AUTOCAD ARCHITECTURE, my simple Lisp:

(defun c:exportprop ()
(command "EXPORTPROPERTYDATA")
(command "G")
(command "TEMP")
(command "")
)

A dialog box pop up for save the export(attached picture).

With my LISP is it possible to save with name "Temp.mdb" in "D:\\Test\\"?

 

Thanks a lot

0 Likes
1,520 Views
5 Replies
Replies (5)
Message 2 of 6

Sea-Haven
Mentor
Mentor

Try this change in your code the "-" can imply run without a dialouge "-exportpropertydata"

 

0 Likes
Message 3 of 6

felix.corre
Advocate
Advocate

Thanks, I had to think about it, unfortunately, this command does not exist.

0 Likes
Message 4 of 6

jtm2020hyo
Collaborator
Collaborator

Is possible export data to mdb?

0 Likes
Message 5 of 6

Sea-Haven
Mentor
Mentor

I dont have Architecture so can  not help any more, only know that Architure does have a VL link via a DLL to get at property data. Its not available in CIV3d etc. 

0 Likes
Message 6 of 6

felix.corre
Advocate
Advocate

Hi,

 

Yes, being new to .NET, I use EXPORTPROPERTYDATA then on this list I select the object with the HANDLES and I update my property set data with the -PROPERTYDATAEDIT command. In VBA.

0 Likes