Returns or sets the render mesh settings of an object's custom render mesh parameters.
Rhino.ObjectMeshSettings (strObject [, intSettings])
strObject |
Required. Object. The identifier of an object that has custom render mesh parameters. |
||||||||||||
intSettings |
Optional. Number. The render mesh settings, which is a bit-coded number that allows or disallows certain features. The bits can be added together in any combination to form a value between 0 and 15. The bit values are as follows:
|
Number |
If intSettings is not specified, the current render mesh settings if successful. |
Number |
If intSettings is specified, the previous render mesh settings if successful. |
Null |
If the object does not have custom render mesh parameters, or on error. |
Dim strObject
strObject = Rhino.GetObject("Select object")
If Rhino.ObjectHasMesh(strObject) = True Then
Rhino.ObjectMeshSettings strObject, 11
End If