C# NX二次开发:面收集器控件和曲线收集器控件详解

大家好,今天介绍ug二次开发过程中的一个叫面收集器的控件和曲线收集器控件,这个控件在块UI编辑器中可以使用。

1、下面是面收集器这个控件中的一些属性和方法:

public class FaceCollector : UIBlock

{

protected internal FaceCollector();

public string SelectModeAsString { get; set; }

public bool PopupMenuEnabled { get; set; }

public string MaximumScopeAsString { get; set; }

public string LabelString { get; set; }

public string InterpartSelectionAsString { get; set; }

public int FaceRules { get; set; }

public int EntityType { get; set; }

public string DefaultFaceRulesAsString { get; set; }

public string Cue { get; set; }

public bool CreateInterpartLink { get; set; }

public bool BlendVirtualCurveOverlay { get; set; }

public string Bitmap { get; set; }

public string StepStatusAsString { get; set; }

public string BalloonTooltipText { get; set; }

public string BalloonTooltipImage { get; set; }

public bool AutomaticProgression { get; set; }

public bool AllowConvergentObject { get; set; }

public string BalloonTooltipLayoutAsString { get; set; }

public string ToolTip { get; set; }

public string\[\] GetBalloonTooltipLayoutMembers();

public ScCollector GetCollectorObjectOfFaceCollector();

public string\[\] GetDefaultFaceRulesMembers();

public string\[\] GetInterpartSelectionMembers();

public TaggedObject\[\] GetSelectedObjects();

public string\[\] GetSelectModeMembers();

public string\[\] GetStepStatusMembers();

public void SetCollectorObjectOfFaceCollector(ScCollector collectorObject);

public void SetSelectedObjects(TaggedObject\[\] objectVector);

}

2、下面是曲线收集器这个控件中的一些属性和方法:

public class CurveCollector : UIBlock

{

protected internal CurveCollector();

public string SelectModeAsString { get; set; }

public bool PopupMenuEnabled { get; set; }

public string MaximumScopeAsString { get; set; }

public string LabelString { get; set; }

public string InterpartSelectionAsString { get; set; }

public bool InferredCurveSelection { get; set; }

public int EntityType { get; set; }

public string DefaultCurveRulesAsString { get; set; }

public int CurveRules { get; set; }

public string Cue { get; set; }

public bool CreateInterpartLink { get; set; }

public bool BlendVirtualCurveOverlay { get; set; }

public string Bitmap { get; set; }

public string StepStatusAsString { get; set; }

public string BalloonTooltipText { get; set; }

public string BalloonTooltipImage { get; set; }

public bool AutomaticProgression { get; set; }

public bool AllowInferredCurveSelection { get; set; }

public bool AllowConvergentObject { get; set; }

public string BalloonTooltipLayoutAsString { get; set; }

public string ToolTip { get; set; }

public string\[\] GetBalloonTooltipLayoutMembers();

public ScCollector GetCollectorObjectOfCurveCollector();

public string\[\] GetDefaultCurveRulesMembers();

public string\[\] GetInterpartSelectionMembers();

public TaggedObject\[\] GetSelectedObjects();

public string\[\] GetSelectModeMembers();

public string\[\] GetStepStatusMembers();

public void SetCollectorObjectOfCurveCollector(ScCollector collectorObject);

public void SetSelectedObjects(TaggedObject\[\] objectVector);

}

本篇文章要介绍的就是这么多,我们下篇文章再见。

相关推荐
weixin_440730502 小时前
函数return、参数、参数组、递归函数、高阶函数等小结
开发语言·python
sugarzhangnotes2 小时前
【无标题】
开发语言·人工智能·python
geovindu2 小时前
rust: Composite Pattern
开发语言·后端·设计模式·rust·组合模式
samble2 小时前
从零搭建灌装监控系统(十):生产追溯,条码触发自动记录
c#·wpf·mvvm·modbus·工业控制
周杰偷奶茶3 小时前
【Java】数组的定义和使用(附管理系统实战案例)
java·开发语言
橙子圆1234 小时前
JUC之集合类不安全
java·开发语言
阿里嘎多学长4 小时前
2026-09-29 GitHub 热点项目精选
开发语言·程序员·github·代码托管
Bruce_Liuxiaowei4 小时前
网页版 DeepSeek “harness desktop“ WebGL 上下文创建失败排查实录
开发语言·javascript·webgl
狗凯之家源码网4 小时前
PHP 用户反馈系统源码深度评测与实战指南
开发语言·php·用户反馈系统
谢亮_vipxieliang5 小时前
Stream API 不是银弹:常见坑与性能建议
java·开发语言