TheSwamp

CAD Forums => CAD General => Dynamic Blocks => Topic started by: CADEC70 on February 13, 2008, 09:54:54 AM

Title: BCOUNT - DYNAMIC BLOCKS
Post by: CADEC70 on February 13, 2008, 09:54:54 AM
I can count my blocks if I did it individually. How do you count your blocks if it's a dynamic block?
Title: Re: BCOUNT - DYNAMIC BLOCKS
Post by: ronjonp on February 13, 2008, 10:04:34 AM
Here's half the answer from one of the 'tards... :-D

Code: [Select]
      (if names
(progn
  (setq names (acad_strlsort names)
names (reverse names)
  )
  (mapcar '(lambda (x)
     (mapcar '(lambda (y)
(if (= (vla-get-effectivename y) x)
  (setq lst (cons y lst))
)
      )
     ss
     )
     (if lst
       (setq str (strcat "\n"
x
" ........... "
(itoa (length lst))
str
)
     lst nil
       )
     )
   )
  names
  )
  (princ str)
)
      )
    )
    (princ "\nNo blocks...")
  )
  (princ)
)
Title: Re: BCOUNT - DYNAMIC BLOCKS
Post by: CADEC70 on February 13, 2008, 10:50:00 AM
Sorry I'm not sure about your post..
how does this work
please explain..thanks
Title: Re: BCOUNT - DYNAMIC BLOCKS
Post by: Josh Nieman on February 13, 2008, 11:11:05 AM
*refrains from making a comment about the intelligence of the poster not knowing what to do with a simple lsp routine*

*edit*
oops.
Title: Re: BCOUNT - DYNAMIC BLOCKS
Post by: ronjonp on February 13, 2008, 11:17:25 AM
Sorry I'm not sure about your post..
how does this work
please explain..thanks

Like my post above states...it's only half of a working routine. After your stupid CTB\STB comment...I'm more motivated to poke fun at you rather than offer help.
Title: Re: BCOUNT - DYNAMIC BLOCKS
Post by: MP on February 13, 2008, 11:30:44 AM
Okay, warm enough, let's not fan this one anymore. :)
Title: Re: BCOUNT - DYNAMIC BLOCKS
Post by: ronjonp on February 13, 2008, 11:39:41 AM
Okay, warm enough, let's not fan this one anymore. :)

Done.  :kewl:
Title: Re: BCOUNT - DYNAMIC BLOCKS
Post by: MP on February 13, 2008, 11:54:03 AM
Thanks Ron.  :-)
Title: Re: BCOUNT - DYNAMIC BLOCKS
Post by: CADEC70 on February 13, 2008, 11:59:21 AM
ctb stb is just my rant..thats why i post it on the 'rant' post...to vent. But dont take it personal. i can't believe that somebody would react like that. unbelievable!
Title: Re: BCOUNT - DYNAMIC BLOCKS
Post by: Josh Nieman on February 13, 2008, 12:02:44 PM
ctb stb is just my rant..thats why i post it on the 'rant' post...to vent. But dont take it personal. i can't believe that somebody would react like that. unbelievable!

guess it must just be the retard in us all.
Title: Re: BCOUNT - DYNAMIC BLOCKS
Post by: deegeecees on February 13, 2008, 12:08:31 PM
Timah!
Title: Re: BCOUNT - DYNAMIC BLOCKS
Post by: Guest on February 13, 2008, 12:10:16 PM
ctb stb is just my rant..thats why i post it on the 'rant' post...to vent. But dont take it personal. i can't believe that somebody would react like that. unbelievable!

guess it must just be the retard in us all.

"Wiggle worm! Wiggle worm! Wiggle worm!"

(I hope somebody get's this)
Title: Re: BCOUNT - DYNAMIC BLOCKS
Post by: CADEC70 on February 13, 2008, 12:21:51 PM
truth hurts
Title: Re: BCOUNT - DYNAMIC BLOCKS
Post by: Josh Nieman on February 13, 2008, 12:24:01 PM
truth hurts

and you're asking -us- for free help while going on like this?

 :lol:
Title: Re: BCOUNT - DYNAMIC BLOCKS
Post by: ronjonp on February 13, 2008, 12:37:22 PM
*gunshot*

"MY FOOT!"
Title: Re: BCOUNT - DYNAMIC BLOCKS
Post by: MP on February 13, 2008, 12:48:16 PM
 :-D
Title: Re: BCOUNT - DYNAMIC BLOCKS
Post by: CADEC70 on February 13, 2008, 12:53:34 PM
josh..did u help me?
i didnt know
Title: Re: BCOUNT - DYNAMIC BLOCKS
Post by: Josh Nieman on February 13, 2008, 12:58:45 PM
josh..did u help me?
i didnt know

Sorry, I'm just a retarded CTB user.
Title: Re: BCOUNT - DYNAMIC BLOCKS
Post by: Draftek on February 13, 2008, 04:30:47 PM
One block
Two blocks,
Three blocks,
Four blocks,
and so on....