Jump to content

Recommended Posts

Guest kruuger
Posted

works perfect cad 2011 (latest update 1.1) with office 07, editor and extractor.

kruuger

Posted
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.

Posted

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.

Posted
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 :roll:

Posted
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 :D

 

Perhaps, although I don't have the time to update the program currently I'm afraid.

  • 3 weeks later...
Posted

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.

Posted

Thanks for the quick reply. I'm glad the error wasn't me :wink:

Posted

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...

Posted

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.

  • 2 weeks later...
Posted

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:

mvafter.jpg

Posted

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...

Posted

Right,

Your BFind-program seems to work though. :) It seems to re-align.

Posted

I have not had any alignment problems either... :)

Posted
I have not had any alignment problems either... :)

 

You only use Left? When I use Center it realigns to Left.

Posted
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... :)

Posted
Damn you :)

Let see a block

 

 

Haha... I'll try and post a couple for you.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...