高级会员
注册日期: 06-11
帖子: 1527
精华: 15
现金: 6353 标准币
资产: 6353 标准币
|
回复: 【求助】SolidWorks2006 获得草图颜色
1) 遍历特征树
// get the feature type name
featureTypeName = swFeature.GetTypeName();
2)判断是否为草图类型
if ( 0 != featureTypeName.Compare(_T("OriginProfileFeature")) )
3)从草图获取sketchSegment
vSketchSegments = swSketch.GetSketchSegments();
4)获取草图的颜色
ISketchSegment::GetColor
|