查看: 3404|回复: 0

[资料] 为什么NX二次开发要使用新的block styler的原因?

[复制链接]

2477

主题

1280

回帖

8万

积分

管理员

PLM之家站长

积分
82265
QQ
发表于 2015-6-19 10:45:36 | 显示全部楼层 |阅读模式

请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!

您需要 登录 才可以下载或查看,没有账号?注册

×
The Block Styler is an interactive tool for designing NX dialogs.  Previous to the Block Styler, NX provided the User Interface Styler (UI Styler) for dialog creation.  The Block Styler enhances the capabilities of the UI Styler by using the same set of reusable blocks currently used by internal NX applications.  Using Blocks as the basic dialog building units ensures that NX has consistent behavior across all applications. By using the Block Styler your custom applications will share the same user interactions as used throUGhout NX.  Furthermore, the Block Styler provides platform independent dialogs.$ S8 i: O3 \# D/ {7 ~
+ m' y6 f1 M" T7 {3 q: b" @" O! x
! g) _: M* s: x( A# F
Note
8 [4 {7 E+ y, Y. X7 u6 M: }7 @* ~/ R! D* V2 N
The UI Styler is still provided to support legacy user interfaces.  However, it is recommended that the Block Styler should be used for all new user interfaces or major changes to existing dialogs.
, x9 N6 J+ Q& ?) j9 `1 \" O: ?6 H5 K7 A$ p: S9 U" l
6 n/ t6 w. K& Z8 Z7 I

. Y; S2 y6 S! ]. ~+ EWhy Use Blocks
3 Z1 e6 o7 }: d) y; a, r* w( V3 }' u- z, j
The UI Styler defines dialogs composed of individual controls such as push buttons and input fields. The predefined behaviors of these controls are very basic and can be used to implement any number of actions within NX.   The Block Styler defines dialogs composed of Blocks of controls.  Although there is a full set of basic blocks, there are also sets of blocks that provide standard NX behaviours for actions that are common in graphical CAD/CAM/CAE applications.  For instance, there is a Specify Vector block that is composed of a label, a standard NX vector constructor button, a pull down list for standard inferred vector options and a reverse direction toggle.  This block is used throughout NX to let the user select or interactively define a vector. By using this block within your dialogs you save time by not having to implement the various options and you ensure that your application behaves as other NX applications.2 A: r1 B: P6 ^, s& l! p: C4 N9 d8 G) @

( ~) ?( f) ]% y
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 doTeam.tech
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

在本版发帖
关注公众号
QQ客服返回顶部