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

ATTOUT to include more properties

1 REPLY 1
Reply
Message 1 of 2
JCprog
424 Views, 1 Reply

ATTOUT to include more properties

I found this code from one of the forums and it works nicely, I just need it to inlcude more properties from the dynamic block such as the "Name", x,y,z  & "Visibility" state. (The bnames are to extract data from those blocks only). Please help Smiley Happy Thank in advance!

 

(defun c:out-att ()
(load "attout")
(setq fna "C:\\att.txt")
	(setq data   nil
	      bnames "blk01,blk02,blk03,`*J*"
	      ss     (ssget "_X"
			    (list '(0 . "INSERT") '(66 . 1) (cons 2 bnames))
		     )
	)
(bns_attout fna ss)
)

 The code is partnered with ATTIN as I need the data be extracted and imported back into the blocks.

 

(defun  c:in-att (/ tmpn)
  (load "attout")
  (setq #bns_attin_modified 0)
  (if (setq
        tmpn
         (findfile
           "C:\\att.txt"
           )
        )
    (bns_attin tmpn nil)
    )
  )

 

1 REPLY 1
Message 2 of 2
braudpat
in reply to: JCprog

 

Hello from France

 

I am not at all a developper but I have posted in the past updated (Support of Dynamic Blocks) routines for ATTIN / ATTOUT coming from a French Developper (from Brice/Bryce - already posted on a French Cad Foum - cadxp.com) ... Maybe it could help you !?

http://forums.autodesk.com/t5/Visual-LISP-AutoLISP-and-General/ATTIN-ATTOUT-with-dynamic-blocks/m-p/...

 

Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


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

Post to forums  

Autodesk Design & Make Report

”Boost