Removes user data strings from the current document.
rhinoscriptsyntax.DeleteDocumentData (section=None, entry=None)
rhinoscript.userdata.DeleteDocumentData (section=None, entry=None)
section |
Optional. String. The section name. If omitted, all sections and their corresponding entries are removed. |
entry |
Optional. String. The entry name. If omitted, all entries for section are removed. |
Boolean |
True or False indicating success or failure. |
import rhinoscriptsyntax as rs
rs.DeleteDocumentData( "MySection1", "MyEntry1" )
rs.DeleteDocumentData( "MySection1", "MyEntry2" )
rs.DeleteDocumentData( "MySection2", "MyEntry1" )