Jump to content

Recommended Posts

Posted
The only way I can get a good argument is if I am willing to pay for it like on that Monty Python skit about the Arguments.

 

Haha, true. :)

  • Replies 61
  • Created
  • Last Reply

Top Posters In This Topic

  • The Buzzard

    31

  • Lee Mac

    22

  • David Bethel

    6

  • borgunit

    1

Posted

Thank You Lee_Mac,

 

I got thru this code finally. I ran into some problems on the last function of the code and realized I needed to make some major changes.

 

The function you provided for me to count the locations worked well from the start, But the other function that I found that counts the attribute values had some problems.

 

I changed the last portion of the code to operate similar to your code and that did it. Also I fixed a problem when you make an incorrect selection, You would get an lentity nil error. I am now using ALERTs for this to let the user know that the block & layer being searched for was not found.

 

I am providing a demo in the enclosed zip file for everyone to test it.

 

The only quirk I did not like about this method was, That the blocks used for the totals were inserted on top of a footer block. This seems a bit tacky and I still need to find a way to get the program to find these blocks by way of attribute tag as well as block name and layer. This will allow the attribute tags to be placed in the footer block as one block and you would have less loose inserts in the drawing.

 

Anyway I like the way it functions for now, But I need to get this issue fixed. It would make the program complete.

 

Again Thanks for the help and code.

The Buzzard

CDL.zip

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