|
View previous topic :: View next topic
|
| Author |
Message |
R.ch
Joined: 20 Sep 2007 Posts: 12
|
Posted: Tue Dec 11, 2007 7:40 pm Post subject: Rhino Count Question |
    |
|
Hii..
We are trying to develop new functions and tools in Rhino, this is the program that we want to customzie. I'm trying to count the objects and then I have a list of things that we can do with those objects, but I couldn't find anything that only counts the objects in my window.. Is there a method that I'm overlooking or anything that returns a count??
My question is how to get a count of the objects withing a selection window I dragged around a model. or how to get a count of the existing objects without selecting any...
Could you tell me more about using "block" / "list" please...
Thanks all,
R |
|
| Back to top |
|
 |
Antisthenes

Joined: 28 Nov 2006 Posts: 688 Location: Phoenix
|
Posted: Wed Dec 12, 2007 11:57 am Post subject: |
    |
|
http://news2.mcneel.com/scripts/dnewsweb.exe?cmd=xover&group=rhino
did you ask there? I believe that is the best tech support you can get
even if the object is 1 point , block it and then list and you will get a count on that is what i meant.
worked well for me when doing a huge fancy casino parking lot to get curves not attainable in other cad. _________________ The most necessary/useful piece of learning is that which unlearns what is untrue: 'evil'
may be acquired, Happiness through virtue which is based on knowledge!/? |
|
| Back to top |
|
 |
R.ch
Joined: 20 Sep 2007 Posts: 12
|
Posted: Fri Dec 14, 2007 8:10 am Post subject: Re: |
    |
|
I'm looking for a method/function in rhino that will return an integer which is a count of the objects existing in my model)..
So I want to run my code to be able to delete all the "surfaces" in my model, so I want rhino to count how many objects there are, loop that many times, test for surfaces and then delete them.. I got the other pieces working, but I can't get the count that I need...
Thanks all,
R |
|
| Back to top |
|
 |
R.ch
Joined: 20 Sep 2007 Posts: 12
|
Posted: Fri Dec 14, 2007 9:03 am Post subject: Re: |
    |
|
Ok people... I got it.... I made up my own count method, and it works perfect....
thanks..
R |
|
| Back to top |
|
 |
Antisthenes

Joined: 28 Nov 2006 Posts: 688 Location: Phoenix
|
Posted: Fri Dec 14, 2007 4:31 pm Post subject: |
    |
|
you got a good answer on the newsgroup too _________________ The most necessary/useful piece of learning is that which unlearns what is untrue: 'evil'
may be acquired, Happiness through virtue which is based on knowledge!/? |
|
| Back to top |
|
 |
|