- 积分
- 9
- 注册时间
- 2017-3-9
- 积分
- 9
![Rank: 4](static/image/common/star_level3.gif)
|
根据SPAutomationCourseLabsV2007.pdf 中的“PLACE A VESSEL ON A DRAWING”教程
Dim objPlacement As Placement
Set objPlacement = New Placement
Dim dirpath As String
Dim symbol As LMSymbol
Dim VesselLocation As String
VesselLocation = "C:\Program Files (x86)\SmartPlant\P&ID Reference Data\Symbols\Equipment\Vessels\Horizontal Drums\Horz Surge w-Horiz Dea.sym"
Set symbol = objPlacement.PIDPlaceSymbol(VesselLocation, 0.3, 0.2) '这句报错 错误信息是 "Runtime Error 91: Object variable or with block variable not set"
请教大家 这个问题怎么解决?
|
|