batch Update title block with CSV objectDBXwrapper

batch Update title block with CSV objectDBXwrapper

long_nguyen6WSQY
Explorer Explorer
243 Views
2 Replies
Message 1 of 3

batch Update title block with CSV objectDBXwrapper

long_nguyen6WSQY
Explorer
Explorer

Hello, I am using this code here with the UpdateTitleblock and ObjectDBXWrapperV1-2 from Lee Mac which open all drawings. 

I set up my CSV file and everything is working when I manually do it on my drawings but when I run the code below it says all attributes are up to date but none of them worked when I go check the drawings.

can someone please guide me and tell me what I am missing

 

(defun c:dbtest nil (LM:ODBX '(lambda (doc) (progn (load "Z:/"path"/UpdateTitleblockV1-9.lsp" "Failed to load UpdateTitleblockV1-9.lsp") (c:utb) nil)) ;; Ensure the lambda function returns nil nil t) (princ) )

 

 

0 Likes
244 Views
2 Replies
Replies (2)
Message 2 of 3

ec-cad
Collaborator
Collaborator

You may not have a 'qsave' in the script ?

If all the drawings are opened, edited, closed.. you will not have changed anything.

Just a guess.

 

If you could, post your script.

 

ECCAD

 

0 Likes
Message 3 of 3

long_nguyen6WSQY
Explorer
Explorer

hello, yeah I tried to check if it saved and it does

here are the codes that I am using

0 Likes