Guest kruuger Posted October 5, 2010 Posted October 5, 2010 works perfect cad 2011 (latest update 1.1) with office 07, editor and extractor. kruuger Quote
Tiger Posted October 5, 2010 Posted October 5, 2010 There is a very nice 'Block Attribute Global Processor v2000-2011' which you can download from 'www.cadavista.com' Mac Lukas Worth to note that CADavista is a company that sells BAGP.vlx. It is not a free program. Quote
PeterPan9720 Posted October 5, 2010 Posted October 5, 2010 I made a macro myself which extracts blocks attributes from DWG to excel. I'm using for the creation of marshalling section in electrical panel drawing. Quote
Lee Mac Posted October 5, 2010 Author Posted October 5, 2010 I made a macro myself which extracts blocks attributes from DWG to excel.I'm using for the creation of marshalling section in electrical panel drawing. Well done to you Quote
Lee Mac Posted October 5, 2010 Author Posted October 5, 2010 Hi Lee, Great tool thank you it helped me a lot. One question, would it be possible when exporting to have the object handle id also in the excel? this would allow us to edit the attributes in excel and than use the "attin" command to import the informations back into the drawing Perhaps, although I don't have the time to update the program currently I'm afraid. Quote
LEIBOLDC Posted October 25, 2010 Posted October 25, 2010 Hi, When I try to run the .lisp routine, I get the following error: Command: (LOAD "C:/autolisp/macatt.lsp") ¤º°`°º¤ø,¸¸, MacAtt.lsp ~ Copyright © by Lee McDonnell ,¸¸,ø¤º°`°º¤ ~¤~ Extractor: "MacAttExt" -==- Editor: "MacAttEdit" ~¤~ Command: macatt [Editor/eXtractor] : "1" nil "C:\\autolisp\\" "0" "grp_file" "0" "1" nil "C:\\autolisp\\" "0" nil ** Error: bad argument type: streamp nil ** I've tried to trouble shoot it, and it happens at line 346: (setq ofile (close ofile)) Any help would be much appreciated. Quote
Lee Mac Posted October 25, 2010 Author Posted October 25, 2010 Thanks for the report, I'll take a look into it Quote
Lee Mac Posted October 25, 2010 Author Posted October 25, 2010 Found the issue, will post a new version in due course. Quote
LEIBOLDC Posted October 25, 2010 Posted October 25, 2010 Thanks for the quick reply. I'm glad the error wasn't me :wink: Quote
Lee Mac Posted October 25, 2010 Author Posted October 25, 2010 Please try Version 3.1 in the first post - I made quite a few changes to the subfunctions, so there may be a few typo's lurking... Quote
LEIBOLDC Posted October 25, 2010 Posted October 25, 2010 Thanks, it worked for me. One more question though, the block that I am trying to edit has some attributes with tags that end in an asterik, such as "base_drawing*". The routine seems to not like the asteriks, as it edits the tags that don't have one. I get the "Attribute tag not valid" message. To clarify, I have a block called "TitleBLKATT", and it has several tags within it. Most are named with an asterik at the end, "discipline*", and others are without one, "Drawn_By". The routine works great on the ones without the asterik, but I get the error warning when I try and change any of the tags that end with "*". I could change the block definition for the future, but I am trying to use the routine on a large set of existing drawings. Thanks again. Quote
Lee Mac Posted October 25, 2010 Author Posted October 25, 2010 Ok, I'll have another look at it Quote
au-s Posted November 5, 2010 Posted November 5, 2010 Hi! I have that attribute editor. It's fantastic job LeeMac. I see one issue thoogh. I edit attributes (text) and when the alignment is centered it moves the text. I edited the "BYGGHANDLING" text from another value. Alltghough when the justification is LEFT it's okay. I have not the 3.1 but one of your previous versions. Please tell if the code is the same what lines are effected. The text alignment X,Y is pointing to just below the letter "B" where the text starts and so it moves the text. Can I maybe change the text alignment to point at the justification position of the text, in that case CENTER? Thanks for a program which really is makign everyone smile! See the image: Quote
Lee Mac Posted November 5, 2010 Author Posted November 5, 2010 This bug is known and described in the code header - it is nigh unavoidable when using ObjectDBX to process the drawings - the attributes are realligned when the drawing is updated manually... Quote
au-s Posted November 8, 2010 Posted November 8, 2010 Right, Your BFind-program seems to work though. It seems to re-align. Quote
AQucsaiJr Posted November 8, 2010 Posted November 8, 2010 I have not had any alignment problems either... Quote
au-s Posted November 8, 2010 Posted November 8, 2010 I have not had any alignment problems either... You only use Left? When I use Center it realigns to Left. Quote
AQucsaiJr Posted November 8, 2010 Posted November 8, 2010 You only use Left? When I use Center it realigns to Left. I did have that same problem, but for some reason I have not had that issue in some time. Within all my blocks, I use almost all the different types of alignments. Maybe I am doing something different within my blocks, but I have not had any alignment problems in some time. ** I am sure now that I say this I will find some issues, but my fingers are crossed... Quote
AQucsaiJr Posted November 8, 2010 Posted November 8, 2010 Damn you Let see a block Haha... I'll try and post a couple for you. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.