查看: 4047|回复: 0

teamcenter二次开发和数据库交互的基本原则

[复制链接]

6

主题

4

回帖

60

积分

管理员

积分
60
发表于 2015-1-19 16:19:36 | 显示全部楼层 |阅读模式

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

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

×
Typical database transaction when creating an object:
  `: I4 @8 G8 a$ Y- }  K4 M, ~0 g如何创建一个对象
6 W1 W% r/ t+ e/ A" }- L. i6 ^1. FL_create
2 n* n9 c# ?! DCreate the object.
3 Y' \+ Q7 ]2 `) P* M2. AOM_save
2 i0 l4 K) k1 D; QSave the record/object.( V/ d1 i3 c/ _9 m! m$ a4 Y
3. AOM_unlock
! ~1 q5 p+ @8 W% O/ }* VUnlock the record/object.
$ l; f" U0 O- d8 N2 j& H& BNote
. P, i9 |9 j7 [1 R( u1 FOther functions to create an object could be used in place of FL_create.$ {7 C8 @1 @1 g' N6 b+ ^
. c: G0 [2 _4 |8 I, w  a* W
1 G; f7 |+ H9 x; }) z
Typical database transaction when changing an object:1 g, H& G  s" ]/ h# U; Q
如何编辑一个对象; W. R8 w! N# n& J- _9 C  |
1. WSOM_find — Get (find/search/others) the record/object.  t' a2 y* ]8 |
2. AOM_lock — Lock the record/object.! T$ D8 u/ ?/ f/ ~- f; F9 B6 \
3. WSOM_set_name — Change attribute(s) of the record/object.
, w2 z" Z4 s4 @  ]  V( k, j$ ]4. AOM_save — Save the record/object.
7 a- y! i" x7 z* \& ]- h; R: b5. AOM_unlock — Unlock the record/object.2 u' }' _8 A  c, w) p

2 J' }& A& U: z1 d1 }7 T) E/ O" o; U9 x) Y
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 www.doteam.tech
回复

使用道具 举报

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

本版积分规则

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