Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

developer:rdkrhinoscripting [2015/09/14]
127.0.0.1 external edit
developer:rdkrhinoscripting [2016/01/13] (current)
sandy
Line 1: Line 1:
-====== Scripting ​methods ​for the Rhino RDK ======+====== Scripting ​Methods ​for the Rhino RDK ======
  
 To get a scripting object for the Rhino RDK, use the following code: To get a scripting object for the Rhino RDK, use the following code:
Line 7: Line 7:
 </​code>​ </​code>​
  
-Then use the rdk object to access the functions below.+Then use the RDK object to access the functions below.
  
 ==== FactoryList();​ ==== ==== FactoryList();​ ====
Line 137: Line 137:
 **Returns:​** String which is the current name of the content. NULL in error conditions. **Returns:​** String which is the current name of the content. NULL in error conditions.
 ==== ContentNotes(strContentInstanceID,​ strNotes, strSendEvent) ==== ==== ContentNotes(strContentInstanceID,​ strNotes, strSendEvent) ====
-Return the content'​s notes+Return the content'​s notes.
  
 **Parameters:​** strContentInstanceID = Required. String. The identifier of the content.\\ **Parameters:​** strContentInstanceID = Required. String. The identifier of the content.\\
Line 332: Line 332:
  
 ==== ContentEmbeddedFiles(strContentInstanceID) ==== ==== ContentEmbeddedFiles(strContentInstanceID) ====
-Return a semicolon-delimited string of full paths to files used by the content+Return a semicolon-delimited string of full paths to files used by the content.
  
 **Parameters:​** strContentInstanceID = Required. String. The identifier of the content.\\ **Parameters:​** strContentInstanceID = Required. String. The identifier of the content.\\
Line 358: Line 358:
  
 ==== SunEnableOn(bOn) ==== ==== SunEnableOn(bOn) ====
-Returns or modifies the sun ON value+Returns or modifies the sun ON value.
  
 **Parameters:​** bOn = Optional. Boolean. Use to enable/​disable this option.\\ **Parameters:​** bOn = Optional. Boolean. Use to enable/​disable this option.\\
Line 382: Line 382:
  
 ==== SunVector(vVector) ==== ==== SunVector(vVector) ====
-Return the sun's direction vector in world space,+Return the sun's direction vector in world space.
  
 **Parameters:​** vVector = Optional. Array. 3D-Vector\\ **Parameters:​** vVector = Optional. Array. 3D-Vector\\
Line 418: Line 418:
  
 ==== SunDaylightSavingOn(bOn) ==== ==== SunDaylightSavingOn(bOn) ====
-Return true if daylight saving is on+Return true if daylight saving is on.
  
 **Parameters:​** bOn = Optional. Boolean.\\ **Parameters:​** bOn = Optional. Boolean.\\
Line 476: Line 476:
  
 ==== RGB2HSB(arrColor) ==== ==== RGB2HSB(arrColor) ====
-Converts color+Converts color.
  
 **Parameters:​** arrColor = Required. Array. 3D Array of doubles.\\ **Parameters:​** arrColor = Required. Array. 3D Array of doubles.\\
developer/rdkrhinoscripting.txt ยท Last modified: 2016/01/13 by sandy