PLM之家精品课程培训

PLM之家精品课程培训

联系电话:18301858168   |   QQ咨询:939801026
NX二次开发培训

NX二次开发培训

UFUN/NXOpen C++和实战案例

适合初级入门或想深入了解二次开发的工程师,本培训结合ufun,NXOpen C++,大量的实例及官方内部的开发技术。
公众号二维码

关注公众号

点击扫描二维码免费在线高清教程

课程详情
Catia二次开发培训

Catia二次开发培训

市场需求大,掌握核心技术前景广阔

Catia二次开发的市场需求大,人才稀缺。掌握开发技能潜力巨大,随着经验积累将在汽车、航空等领域有所作为。
B站二维码

在线原创B站视频

点击关注工业软件传道士主页

课程详情
Teamcenter培训

Teamcenter培训

全方位培训,从基础应用到高级开发全覆盖

涵盖用户应用基础培训、管理员基础培训、管理员高级培训及二次开发培训等全方位内容,由多年经验讲师打造。
QQ群二维码

加入同行交流

点击扫描二维码加入QQ群

课程详情
×

PLM之家plmhome公众号

课程涵盖: PLM之家所有原创视频

×

关注B站视频

所有高清视频一览无余,全部在线播放学习

×

加入PLM之家QQ群

同行交流,疑问解答,更多互助

PLM之家PLMHome-国产软件践行者

[原创] NX二次开发签名的方法完整版本,详细步骤如下:

  [复制链接]

2017-4-21 08:17:55 8052 1

admin 发表于 2015-2-25 13:00:05 |阅读模式

admin 楼主

2015-2-25 13:00:05

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

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

x

3 G7 E- V( g9 R, s1 v2 x5 A7 c
7 ?5 J$ p' _9 O* T, d! w/ |* l: @; F& V5 ^0 N: z
Once you have fully tested your NXOpen API application, you should "sign" it1 I( X! @8 m$ y) b( K
before distributing it to your end users.  Even if your end users also have
7 n" w. F, w7 caccess to the Author license which is required to load and run an NXOpen9 M$ \- ^4 R1 V+ H7 }
application, signing it has its benefits.
: ]: b, Q- T# R, l/ H3 k: S- w3 ~' f& S6 ^( `! A3 O) o
    - Your application will load faster because NX will immediately recognize. x/ X; p2 z7 o  K( k
      that it has been signed.1 X  R& p& e. X* u% T0 d& r
    - The syslog (Help-> Log File) will not be cluttered with the output from% i" s1 z$ @' J* C" b
      the multiple checks that NX will do to determine whether it can load
: q1 _; Z; M9 J5 }  A  z" J      and run the program.
# l* h; W; Z7 f1 G" S7 M
  S) g1 K2 N- ?; Z1)  C/C++, C# or VB only (Java: Proceed directly to step 3)' k5 T  J, }! T) F* c3 D; @
7 {/ {, G5 W$ K3 U4 u
    Add the NXSigningResource to your Visual Studio project
$ D% A: \0 Y' o+ W" o' h8 @7 L% ^7 V) _- y: l/ M' f. o
    In the Solution Explorer, select the Resource Files folder and
  }+ h4 g8 V2 }5 F' I4 H8 V        <RMB>Add-> Existing Item' N7 n, ]( X7 K9 U& U# M  Y

. I% }0 `' U" ^9 f    C/C++:. v* g6 W& ^4 c. u3 C* U
        Browse and select %UGII_BASE_DIR%\UGOPEN\NXSigningResource.cpp
4 h9 y/ a; X, P    C# or VB .NET:
' F' F' l5 t: {# j6 x5 d9 ~        Browse and select %UGII_BASE_DIR%\UGOPEN\NXSigningResource.res
2 g: |% x9 u- y' q0 h9 g$ `. c        Select the newly added NXSigningResource.res and in set
1 e- f$ z7 H3 A* i6 v3 W# \0 c" N1 j            Properties-> Build Action = Embedded Resource$ b: E; k- N" a9 }, i

- y3 O; }  p: W9 \2)  Make sure the build configuration is set to Release then+ I6 x* U) |/ c, J. H  F
    Build-> Rebuild Solution
- U- X7 ?4 z7 J. B9 ~$ z7 j+ K1 E( C, z% s
3)  Sign the executable from an NX Command Prompt window:. h2 Z+ |. Y  t* C& G; W
        You probably already have one open because you started the Visual6 W- [0 }$ ^2 F
        Studio or Eclipse from it.  Otherwise:
( G, _0 L) `: @2 p            Start-> All Programs-> NX#-> NX Tools-> Command Prompt7 j; _2 W& Y% `9 N
# @9 o2 N- b3 d) s
    Java:) u! n" {& n- J0 V
        signJar <path to your>.jar
1 u7 c# V  m& o: W: R5 l' B- v7 }
    C/C++:0 j8 [4 F6 g. f. q1 C& k; p
        NX8.5 and later:
* x! {3 L& p$ s4 x" B" [+ m6 Q            signCpp <path to your>.dll or .exe
% @# s  R0 v" E$ Y! J$ A        NX8.0 and earlier:
  x* W7 K1 x$ }; \            nxSign <path to your>.dll or .exe
8 Q% I* q( y- H3 K
9 v. H1 ^) k  a2 V0 I: d/ r5 P& ~    C# or VB .NET:
$ {; e6 r; d2 K" _6 W        NX8.5 and later:
& d% s6 s# [8 m1 G* h$ m# Y            signDotNet <path to your>.dll or .exe
& t" f9 x& I) `/ G" \1 q, M7 Y3 c        NX8.0 and earlier:
& o# ~+ ~0 C" L            signLibrary <path to your>.dll or .exe5 K) x; O1 l$ @

+ m7 H( e* A' t' I: x- wNote:  You do not need to use the path to the signing utilities because the/ P/ H' B3 l' A9 \& L. O- F
PATH of the NX Command Prompt shell already includes both the UGOpen and UGII
) E" J! D9 F9 g& p- @( ?folders.( u8 I; i3 m/ t0 z3 `2 o
7 j: r* |3 O/ D  T' `: ^; S$ S
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 www.diantuankj.com/ doTeam.tech
回复

使用道具 举报

全部回复1

yejihu 发表于 2017-4-21 08:17:55

yejihu 沙发

2017-4-21 08:17:55

非常感谢您的分享和宽大的胸怀!
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 www.diantuankj.com/ doTeam.tech
回复 支持 反对

使用道具 举报

发表回复

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

返回列表 本版积分规则

  • 发布新帖

  • 在线客服

  • 微信

  • 客户端

  • 返回顶部

  • x
    温馨提示

    本网站(plmhome.com)为PLM之家工业软件学习官网站

    展示的视频材料全部免费,需要高清和特殊技术支持请联系 QQ: 939801026

    PLM之家NX CAM二次开发专题模块培训报名开始啦

    我知道了