ModelDocDuExtension 类 |
[缺少 "T:Du.SolidWorks.Extension.ModelDocDuExtension" 的 <summary> 文档]
命名空间: Du.SolidWorks.Extension
ModelDocDuExtension 类型公开以下成员。
名称 | 说明 | |
---|---|---|
AsAssemblyDoc |
转换为装配体
| |
AsPartDoc |
转换为零件文档
| |
CreateSketch | ||
CurrentComp | ||
GetConfigurationFromID |
Look-up a configuration based on it's ID
| |
GetConfigurations |
Get all configurations
| |
GetFeats |
获取所有的某种类型的特征
| |
GetFirstToLastFeats |
按顺序遍历特征
| |
GetGlobals |
已过时。
获取方程式中所有的全局变量变转换为字典
| |
GetModelDispalyDimensions |
获取所有的特征尺寸
| |
GetObjectFromPersistReference |
Get an entity from its persist id.
Because we should use the same version of `GetPersistReference` and `GetObjectFromPersistReference` resp.
and the persist reference is saved with the models we should never ever use another version of the two methods.
For more details see http://help.solidworks.com/2016/english/api/sldworksapi/SolidWorks.interop.sldworks~SolidWorks.interop.sldworks.IModelDocExtension~GetPersistReference3.html#remarksSection
| |
GetPersistReferenceT |
获取实体PID
Because we should use the same version of `GetPersistReference` and `GetObjectFromPersistReference` resp.
and the persist reference is saved with the models we should never ever use another version of the two methods.
For more details see http://help.solidworks.com/2016/english/api/sldworksapi/SolidWorks.interop.sldworks~SolidWorks.interop.sldworks.IModelDocExtension~GetPersistReference3.html#remarksSection
| |
GetPlanes |
获取所有的基准面
| |
GetRayIntersections |
Doesn't work when intersecting with wire bodies.
| |
GetSelectedObjectsFromModel | ||
GetTypeEx(AssemblyDoc) |
获取文档类型
| |
GetTypeEx(IModelDoc2) |
获取文档类型
| |
IsSpecType | ||
ScreenToView |
从一个给定的屏幕上的X,Y变换到视图模型中的点和方向
From a given X,Y screen coordinate return the model
coordinates and the direction of looking.
| |
TemSaveAsFor |
另存为并加载到内存,然后关闭源文档
| |
UIUpdateEnable | ||
Using |
执行操作然后关闭文档
| |
ViewToScreen |
空间点变换到屏幕
|