【NX二次开发】Block UI 对象颜色选择器

属性说明

常规         类型 描述
    BlockID     String 控件ID
    Enable     Logical 是否可操作
    Group     Logical 是否分组
    Label     Utfstring 标题
    Show     Logical 是否可见
其他            
    Localize     Logical 是否本地化
    RetainValue Logical 是否保存值
    附件        
        Bottom Attachment 底部
        Left Attachment
        Right Attachment
        Top Attachment 顶部
特定于块            
    BalloonTooltipImage String 标题气泡提示图片
    BalloonTooltipLayout Enum 气泡提示类型
    BalloonTooltipText Utfstring 标题气泡提示文本
    NumberSelectable Integer 可选择数量
    Value Stlvector 色号
     
//获取选择的颜色色号
PropertyList *blockColorProps = blockColor->GetProperties();
std::vector<int> color = blockColorProps->GetIntegerVector("Value");
delete blockColorProps;
blockColorProps = NULL;

 

posted @ 2020-07-20 16:15  王牌飞行员_里海  阅读(251)  评论(0编辑  收藏  举报