Author Topic: Counter Needed  (Read 1752 times)

0 Members and 1 Guest are viewing this topic.

cadmoogle

  • Guest
Counter Needed
« on: November 21, 2008, 09:50:46 AM »
CAB,
As I sit here and type with tremendous lag. Would it be possible to build a counter like you did with this command for the one Wizman built for the dangler lisp

http://forums.cadalyst.com/showpost.php?p=22905&postcount=11

If needed I could ask Wiz, but I wasn't sure if he would know what I was talking about.

I ran the command on 11901 objects and I'm not sure how much counter I have to go. You spoiled me with that counter on BreakAll  :-D.

Thanks in advance
« Last Edit: November 21, 2008, 10:29:29 AM by cadmoogle »

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Counter Needed
« Reply #1 on: November 21, 2008, 10:18:24 AM »
Counters are easy.

Initialize the counter to 0.
Update the counter within the loop.

Here is the loop.
Code: [Select]
(foreach dang_final_pt ronnil3
    (command "._insert" bname dang_final_pt "" "" "")
) ;_ end_foreach

No more time this morning. 8-)
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

cadmoogle

  • Guest
Re: Counter Needed
« Reply #2 on: November 22, 2008, 09:10:37 AM »
Wizman has added the feature to his code.

http://forums.cadalyst.com/showthread.php?p=22955#post22955

Topic closed :)