找回密码 注册 QQ登录
开思网工业级高精度在线3D打印服务

iCAx开思网

CAD/CAM/CAE/设计/模具 高清视频【积分说明】如何快速获得积分?快速3D打印 手板模型CNC加工服务在线3D打印服务,上传模型,自动报价
查看: 16850|回复: 1
打印 上一主题 下一主题

关于的tc三个问题

[复制链接]
跳转到指定楼层
1
发表于 2006-7-9 15:33:47 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

马上注册,结交更多同行朋友,交流,分享,学习。

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

x
想提三个问题
1。我在用libusers_exits的时候,link无法通过,好象是缺少了库文件,不知大家是不是也有这个问题?我的版本是9.1.2
2。有没有哪位用过simulation process studio,我看help没看明白。
3。我想试试teamcenter engineering和pro/e的连通,也就是保持数据一致,我查了相关资料,好象是要用到web service等中间件技术,实现起来好象比较复杂。有哪位作过吗?
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖 赞一下!赞一下!
2
发表于 2006-7-21 11:30:22 | 只看该作者
1. 你的OS是UNIX还是NT,请参考:
User Exits on UNIX
In $IMAN_ROOT/sample, use the link_user_exits script to build a new shareable library. The source files used to build the user_exits shared library must be compiled with -pic or -PIC.

The link_user_exits script requires that all of the user exit object files reside in the current directory. They can be extracted from the user_exits library with the command:

ar x $IMAN_LIBRARY/libuser_exits.a

You can then replace any of the User exit modules by making the appropriate changes in template user exit functions. See the sample directory for the template files. These files contain the default behavior that comes with Teamcenter Engineering.

Make a backup copy of the original shareable library (libuser_exits.so.1.1 for SUN and libuser_exits.sl for the HP). Once you've created a back up copy of the original shareable library, copy the new shareable library back to the $IMAN_LIBRARY.

User Exits on Windows NT
This example uses User Defined Attributes (UDA) user exits as an example.

Create a sub-directory for the user exit library in your HOME directory.

mkdir %HOME%/userexit

Set your IMAN_USER_LIB environment variable.

set IMAN_USER_LIB=%HOME%/userexit

Copy the original user exit library to your directory.

copy %IMAN_ROOT%/dll/user_exits.a %HOME%/userexit/.

Extract objects from the library in your userexit directory. (If your MSDEV_HOME is not set, set it before running the extract script).

%IMAN_ROOT%/sample/extract_objects user_exits.a

There is sample UDA code that uses USER_exit_module and USER_register_properties in %IMAN_ROOT%/sample/properties/smp_props.c. This sample code shows you how to customize Teamcenter Engineering properties.

Copy this file to your userexit directory (or you can create your own).

copy %IMAN_ROOT%/sample/properties/smp_props.c

Compile this (or your) C program.

%IMAN_ROOT%/sample/compile smp_props.c

Once the smp_props.o (or your) object is created, remove the original user_init.o from your userexit directory since your new object also contains the user exit ITK calls. Then build the new library. As a result of the following call, libuser_exits.dll is created.

%IMAN_ROOT%/sample/link_user_exits

Start Teamcenter Engineering.


2。Help对这个模块的描述还是很细致的,不知道你是哪里不明白。

3。TcE支持与主流的CAD系统的紧密集成,包括UG,Pro/E,CATIA,AutoCAD等。

[ 本帖最后由 黑瓦白墙 于 2006-7-21 11:32 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

3D打印手板模型快速制作服务,在线报价下单!

QQ 咨询|手机版|联系我们|iCAx开思网  

GMT+8, 2024-12-23 09:02 , Processed in 0.021989 second(s), 11 queries , Gzip On, Redis On.

Powered by Discuz! X3.3

© 2002-2024 www.iCAx.org

快速回复 返回顶部 返回列表