标题: GetTitle显示错误求指导 [打印本页] 作者: kzseL 时间: 2012-6-12 14:22 标题: GetTitle显示错误求指导 “GetTitle”不是“Rhino.RhinoDoc”的成员
只有这一个Error,脚本自己写了写,也不知道有木有问题,求大神指导:
Try
Dim _angle As New List(Of Double)
Dim _calc As Double = 0.0
Dim _ratio As Double = 0.0
For i As Integer=0 To BaseAngle.Ciunt - 1
If (ExternalTemp > 0) And WindSpeed <= MaxWindSpeed Then
_calc = BaseAngle(i) * Sensitivity * (-(ExternalTemp / InternalTemp))
If WindSpeed <= MaxWindSpeed * 0.9 Then
_calc *= ((WindSpeed / MaxWindSpeed))
Else
_calc *= (1 - (WindSpeed / MaxWindSpeed))
End If
If ExternalTemp > InternalTemp Then
_calc = _calc / 2
End If
Else
_calc = 0
End If
If InfluenceDist(i) > MaxInfluenceDist Then
_calc = 0
End If
If Not plane Then
_calc = -_calc
End If
_angle.Add(_calc)
Next
Angle = _angle
Catch ex As Exception
Print("--- ERROR OCCURED ---")
Print(" File: " + doc.GetTitle + ".3dm")
Print(" Msg: " + ex.Message)
Print("---------------------")
End Try
求指导了!!!!!!!写出来的电池总是红的... ... 作者: kzseL 时间: 2012-6-12 14:47
GetTitle 找不到其出处了... ...作者: kzseL 时间: 2012-6-13 14:30
求指导啊~~唉~~~~作者: 呼呼 时间: 2012-6-13 16:37