NX新版本添加自定义UI
大家层管理点击 添加新的层
给新的层取个名
大家确定
下拉菜单找到刚建的TCL文件
点击小扳手进入编辑
输入内容
LIB_GE_CREATE_obj wei {UI_TREE} {
LIB_GE_property_ui_name ""
LIB_GE_property_ui_tooltip ""
#=============================
#
#=============================
set id "my_ui"
set $id "0"
set datatype($id) "NODE"
set access($id) 222
set dialog($id) {{我的界面}}
set descr($id) {{注释}}
set group_status($id) 1
set ui_parent($id) "root"
set ui_sequence($id) 100
#=============================
#
#=============================
set id "my_post"
set $id "0"
set datatype($id) "NODE"
set access($id) 222
set dialog($id) {{机床设置}}
set descr($id) {{}}
set group_status($id) 1
set ui_parent($id) "my_ui"
set ui_sequence($id) 1
#=============================
#
#=============================
set id "@my_post"
set $id "0"
set datatype($id) "GROUP"
set access($id) 222
set dialog($id) {{我的输出内容}}
set descr($id) {{}}
set group_status($id) 1
set ui_parent($id) "my_post"
set ui_sequence($id) 1
}
#=============================
#
#=============================
LIB_GE_CREATE_obj CONF_CTRL_my_ui {} {
LIB_GE_property_ui_name "my_ui"
LIB_GE_property_ui_tooltip ""
set id "my_post"
set $id "老当易撞"
set options($id) {老当易撞|过去宗师 }
set options_ids($id) {老当易撞|过去宗师}
set access($id) 222
set dialog($id) {{内容}}
set descr($id) {{}}
set ui_parent($id) "@my_post"
set ui_sequence($id) 3
}
点击确定 就可以了
附上后处理
原生态后处理没做任何修改只是提供学习UI界面定制
感谢大神无私分享 最近看大家发后处理,今天我也发个自己鼓动玩的,用到楼主发的知识点,特意来顶一下,并且在我发内容里会有本贴连接。。
( You can define your blank material output with following command ) 兄弟这串怎么用
( LIB_GE_command_edit_replace LIB_start_of_program_blk_form BLK_form @Outpu)
( Custom procedures )
( } customBlankOutput )
( Use following variables )
(lib_blk_point_1(0) = -500.00 -- Smallest X value )
(lib_blk_point_1(1) = -500.00 -- Smallest Y value )
(lib_blk_point_1(2) = -500.00 -- Smallest Z value )
(lib_blk_point_2(0) = 500.00 -- Largest X value )
(lib_blk_point_2(1) = 500.00 -- Largest Y value )
(lib_blk_point_2(2) = 500.00 -- Largest Z value )
( or when blank is defined as a Cylinder in ZM direction )
(lib_blank_cylinder_vector -- Vector of cylinder axis )
(lib_blank_cylinder_center -- Distance from MCS to cylinder center )
(lib_blank_cylinder_height -- Cylinder height )
(lib_blank_cylinder_diameter -- Cylinder diameter ) 构建后处理,是PB好用,还是PC好用? 谢谢分享点赞
页:
[1]