当前位置: 首页 > news >正文

C# NX二次开发:反向控件和组控件详解

大家好,今天介绍ug二次开发过程中的两个叫反向和组的控件,这个控件在块UI编辑器中可以使用。

1、direction这个控件的属性和方法如下所示:

  //
    // 摘要:
    //     Represents Reverse Direction block
    //
    // 备注:
    //     Created in NX8.5.0
    public class ReverseDirection : UIBlock
    {
        protected internal ReverseDirection();

        //
        // 摘要:
        //     Returns or sets the Direction.
        //
        // 备注:
        //     It specifies the orientation of direction handle.
        //     Created in NX8.5.0
        //     License requirements to get this property: None.
        //     License requirements to set this property: None.
        public Vector3d Direction { get; set; }
        //
        // 摘要:
        //     Returns or sets the Flip.
        //
        // 备注:
        //     If true, the handle is flipped opposite of the direction.
        //     Created in NX8.5.0
        //     License requirements to get this property: None.
        //     License requirements to set this property: None.
        public bool Flip { get; set; }
        //
        // 摘要:
        //     Returns or sets the Origin.
        //
        // 备注:
        //     It specifies the origin of direction handle.
        //     Created in NX8.5.0
        //     License requirements to get this property: None.
        //     License requirements to set this property: None.
        public Point3d Origin { get; set; }
    }

2、Group这个控件的属性和方法如下所示:

 public class Group : UIBlock
    {
        protected internal Group();

        public int Column { get; set; }
        public bool Localize { get; set; }
        public PropertyList Members { get; }
    }

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

http://www.dtcms.com/a/341953.html

相关文章:

  • 智慧巡检新标杆:智能移动机器人——电力行业的守护者
  • 【数据结构】树与二叉树:结构、性质与存储
  • 解码欧洲宠物经济蓝海:跨境电商突围的战略逻辑与运营范式
  • Vue2+Vue3前端开发_Day5
  • 【PZ-A735T-KFB】璞致fpga开发板 Artix-7 系列之PA-Starlite-初学入门首选 开发板用户手册
  • 《Python 整数列表分类:巧妙将负数移到正数前面》
  • 力扣hot100:无重复字符的最长子串,找到字符串中所有字母异位词(滑动窗口算法讲解)(3,438)
  • LeetCode每日一题,2025-08-21
  • C++——C++重点知识点复习2(详细复习模板,继承)
  • 2.Shell脚本修炼手册---创建第一个 Shell 脚本
  • C++ string类(reserve , resize , insert , erase)
  • 鸿蒙中网络诊断:Network分析
  • 深入理解JVM内存结构:从字节码执行到垃圾回收的全景解析
  • 金山云Q2营收23.5亿元 AI战略激活业务增长新空间
  • Altium Designer 22使用笔记(8)---PCB电气约束设置
  • GitHub Copilot - GitHub 推出的AI编程助手
  • Pytorch框架学习
  • Bigemap APP 详细使用教程,入门学习PPT
  • element table 表格多选框选中高亮
  • KubeBlocks for ClickHouse 容器化之路
  • 【运维进阶】shell三剑客
  • DeepSeek大模型如何重塑AI Agent?从技术突破到行业落地
  • 环境搭建-dockerfile构建镜像时apt软件包出现exit100错误+ pip下载python库时下载过慢的解决方法
  • SpringWeb详解
  • CorrectNav——基于VLM构建带“自我纠正飞轮”的VLN:通过「视觉输入和语言指令」预测导航动作,且从动作和感知层面生成自我修正数据
  • 【LeetCode热题100道笔记+动画】三数之和
  • Linux上安装MySQL 二进制包
  • TENON AI-AI大模型模拟面试官
  • idea进阶技能掌握, 自带HTTP测试工具HTTP client使用方法详解,完全可替代PostMan
  • 【力扣 买卖股票的最佳时机 Java/Python】