Home > rhino script > rhino script error

Rhino Script Error

2.0) View Discussions I'm getting the following error when assigning nodes to a surface for lighting analysis. Has anybody seen this/know what causes it? I'm selecting my surface, specifying the offset and after I specify the grid dimensions the error pops up.   --------------------- Source: Microsoft VBScript runtime error Error: Subscript out of range: '[number:1]' Line: 168 Char: 2 Code: ----------------------   Tags: Like 0 members like this Share Tweet Views: 850 ▶ Reply to This Replies to This Discussion Permalink Reply by Max D on May 16, 2012 at 5:42am your installation worked fine before, didn't it..? have you made any changes? generally you need to have installed rhino as the same user with full admin rights who will then use it, go through the climate file, material assignment sequentially; the climate file has to be in the weather data folder- you might get an error if it is elsewhere. have you saved the rhino file before starting to use diva, too? Max ▶ Reply Permalink Reply by J. Alstan Jakubiec on May 16, 2012 at 12:05pm Hi Mark,   This error is caused by your grid dimensions being too large for the surface. Basically, DIVA assumes that the smallest 'grid' is 2x2 on a surface, so make sure that the spacing dimension you are putting in is small enough relative to the length and width of the surface you have chosen.   If that doesn't help, please let me know!    All the best, Alstan  ▶ Reply Permalink Reply by Mark Glavan on May 16, 2012 at 6:37pm Max, Alstan, thanks for your input.   The problem is indeed with the grid spacing - the model we were working on had a scaling issue - was out by a factor of 1000, so all the grids seemed far too large.   Thanks, Mark ▶ Reply Permalink Reply by Farid Abdolhossein Pour on February 24, 2015 at 5:42pm Hi I am doing continues daylight autonomy. for my first two runs everything was fine and  I got the results, by after the second run for all other runs I am getting error. can you please help. ▶ Reply Permalink Reply by J. Alstan Jakubiec on February 26, 2015 at 11:22am Hi Farid, Could you start a new thread with some screen-captures and more information on the error you are receiving. This thread is over two years old. Best, Alstan ▶ Reply ▶ Reply to Discussion RSS Welcome toDIVA for Rhino Sign Upor Sign In User Guide Getting Started Video Tutorials Installation Setting up a Rhino Model File Naming and Storage Navigate the User Interface, pt. 1 Navigate the User Interface, pt. 2 Your First Simulation Archiving Results Troubleshooting Advanced DIVA fo

Hi All,  When I click the "metrics" button to run simulations I get the following error: An error has occurred in the script on this page.  Line: 1991 Char: 6 Error: Type Mismatch Code: 0 I've attached an image of the error as well. Has anyone else had this issue before and know how to resolve it? Thanks for your help!  DIVA%20Error.PNG Sincerely,  Jenn Tags: Like 0 members like this Share Tweet Views: 75 ▶ Reply to This Replies to This Discussion Permalink Reply by J. Alstan Jakubiec on August 3, 2016 at 1:30am Hello Jennifer, Thanks for the detailed description of the issue. When you http://diva4rhino.com/forum/topics/rhinoscript-error-when-assigning-nodes installed DIVA-4, did you do it on top of an existing DIVA-3 installation by chance? If so, it might be the case that deleting your DIVA folder and repairing the installation will fix the issue. If not, please let me know! Thank you, Alstan ▶ Reply Permalink Reply by Jennifer Chalos on August 3, 2016 at 9:20am Hi Alstan,  Thanks for the quick response. I have DIVA-3 still http://diva4rhino.com/forum/topics/script-error on my computer but its named DIVA 3.0 and then DIVA-4 is simply named DIVA in the C drive. I removed the DIVA toolbar from Rhino and re-added it. Now I am still getting the script error, but the simulation is running (previously I was receiving the error and the simulation would not run). I will try to uninstall and reinstall later to see if the error message goes away.  Thanks, Jenn ▶ Reply Permalink Reply by J. Alstan Jakubiec on August 3, 2016 at 8:40pm Sure -- let me know what happens, and we can troubleshoot based on that. Alstan ▶ Reply Permalink Reply by Jennifer Chalos on August 4, 2016 at 9:45am Hi Alstan,  The script error went away after reinstalling DIVA. I was also having an issue where ray trace stopped working in the middle of the simulation. I received a message that said "rtrace.exe stopped working" and then the simulation would crash. Hopefully this will also be solved by the reinstall... Jenn  ▶ Reply Permalink Reply by Jennifer Chalos on August 5, 2016 at 8:52am Hi Alstan,  I keep getting an error with the simulation saying that rtrace.exe has stopped working. I've attached a screenshot of the error.

provides access to run-time error information. The Err object encapsulates errors for a VBScript script. By default, if an error occurs, VBScript terminates script execution and RhinoScript reports the error back to the user. Sometimes this default error processing is not desirable. In this http://developer.rhino3d.com/guides/rhinoscript/vbscript_err_objects/ case, the Err object and the On Error statement can be used to let scripts perform their own error handling. Details The Err object is a predefined global object. It does not need to be declared before it can https://groups.google.com/d/msg/diva-for-rhino/KMmhQW7kz6o/3S1vhD8-aDcJ be used. The object is used to encapsulate all the information relating to an error condition. This information is presented as a series of properties: The .Number property is the error number (or code) for the error. This rhino script is the default property of the Err object. The .Source property contains a string that specifies the source of the error. This is typically the ProgID (Programmatic Identifier) of the object that generated the error. The .Description property contains a string describing the error. The .HelpFile and .HelpContext properties store information to reference a help topic in a help file. This allows the error to refer to information on possible causes of the error. Using On rhino script error Error To generate a user-defined run-time error, first clear the Err object using the .Clear method. Then raise the error using the .Raise method. This method takes up to five arguments that correspond, in order, to the properties previously listed. For example: Err.Clear Err.Raise 1000, "This is a script-defined error", "Test Script" This example displays the standard RhinoScript error dialog box showing the error information. To intercept run-time errors and process them in scripts, use the On Error statement. The syntax of this statement is: On Error Resume Next After this statement executes, the next run-time errors do not cause script execution to end. Instead, the Err object properties are set to reflect the error information and processing continues with the next statement. For example: Err.Clear On Error Resume Next Err.Raise 100, "Script Error" If Err.Number Then Rhino.Print "Error=" & CInt(Err.Number) In this example, the Err.Raise method is used to raise a run-time error. Normally, this would stop script execution. However, the earlier On Error statement allows script execution to continue. So the If statement executes and displays the error number. In the preceding example, the error was generated by the Err.Raise method. Yet, the same processing applies to any run-time error, regardless of how it is generated. For example: On Error Resume Next Err.Clear x = CInt("foo") If Err.Number <> 0 Then Rhino.Print Err.Number Rhino.Print Err.Description Rh

στη συνέχεια, ανανεώστε αυτήν τη σελίδα. . Ο λογαριασμός μουΑναζήτησηΧάρτεςYouTubePlayΕιδήσειςGmailDriveΗμερολόγιοGoogle+ΜετάφρασηΦωτογραφίεςΠερισσότεραΈγγραφαBloggerΕπαφέςHangoutsΑκόμη περισσότερα από την GoogleΕίσοδοςΚρυφά πεδίαΑναζήτηση ομάδων ή μηνυμάτων

Related content

rhino script error type mismatch
Rhino Script Error Type Mismatch p at pm in DIVA-Grasshopper Classic View Discussions I'm getting that error when I run a daylight autonomy study in Rhino bit License is checked out fine Source Rhinoscript Error Type mismatch in parameter String required Line Char Tags Like members like this Share Tweet Views Reply to This Replies to This Discussion Permalink Reply by Erick Katzenstein on December at pm OK just another issue with an old grid I forgot about Problem solved here http diva rhino com forum topics rhinoscript-error-when-assigning Reply Permalink Reply by J Alstan Jakubiec on December at am Hi