SelectionDataExtension 类 |
[缺少 "T:Du.SolidWorks.Extension.SelectionDataExtension" 的 <summary> 文档]
命名空间: Du.SolidWorks.Extension
名称 | 说明 | |
---|---|---|
GetObjects(SelectionData, IModelDoc2) | ||
GetObjectsT(SelectionData, IModelDoc2) |
Gets an evaluator for the selected object. We return Func because if you return the solidworks
object itself and store it you get burned by solidworks rebuilds when the object is invalidated.
Only evaluate the function when you actually need the solidworks object. If the return value
is None then it means that there is nothing selected.
|