Hi All I am trying to create a VB Script in grasshopper to create a network surface that can be up dated, though as my scripting knowledge is little I'm just checking if it possible and i am going about it the write way before i try and learn how to do something that may not be possible.
My plan is to write a script that runs like this (including all syntax when learnt): * Find stored rhino object ID for previously created network surface and delete surface, skip if null (just in case surface has been deleted in rhino) (My guess here I should be asking the script to reference an attached string that is holding the previously denoted object ID thus clearing string for input of curve data.) * Bake to rhino all required curves from Grasshopper in order that is required for new network srf (I have got this to work for one curve but don't how to do it for all) * Get rhino object IDs for all curves (I guess these would then need to be stored in a string ready to be reused at a later date.) * Run Script to activate network surface command in the command bar. (This I have been able to do too but unable work out how to tell it were to find curves) * For required Curves use curve ID's created earlier to get curve objects, still in required order. * Delete all input curves of network surface. (I have deleted things in rhino before when working with the animation script posted here but that may have been for a single object and if I remember right this is the last object created in rhino so easier to find an delete than what I propose.) * Reference surface back into grasshopper ready for next part of definition. * Find and store id of newly created surface ready for next update in string. I am writing this for use with GH 5.99 as cannot upgrade to 6.07 until I have finished my degree as totally building final major project in grasshopper and don’t have the time to rewrite it for 6.07. Any help or thoughts greatly appreciated Thanks Matt
