Yes thanks that works great. I has though of using dispatch but had no idea at all how i could get the true or false boolean to work with numbers so left it and looked at other ideas.
thanks again matt On Feb 18, 11:51 am, klint <[email protected]> wrote: > Would dispatch work for you? > > http://screencast.com/t/olWCDUwat > > /Lars > > Matt skrev: > > > > > Hi All > > > How do remove all negative numbers from 3 merged dynamic lists only > > leaving the positive numbers ready for use in the next component in > > the stream. I have tried to write a definition that sub listed out all > > the positive numbers from the list as the list is in numeric ascending > > order, but as the number of negative numbers in the list changes > > randomly they can’t be removed using a set mathematical formula. > > > The other option is a VBscript that checks list length then checks all > > numbers to see if they are negative and removes them from the output > > list, but as I have only done 2 days of scripting ever and that was in > > Rhinoscript i don't know how to write this either. (Though my plan for > > the summer is to learn VB when uni' s done) > > > Any help of with writing the definition or the VBscript would be much > > appreciated. > > > Thanks > > Matt- Hide quoted text - > > - Show quoted text -
