导航

随笔分类 -  Teamcenter Enterprise

UGS Teamcenter Enterprise Customize
摘要:=================================================cc options=================================================-#Verbose mode-###Show compiler commands built by driver, no compilation-A<name[(tokens)]... 阅读全文

posted @ 2007-12-23 10:19 hcfalan 阅读(1181) 评论(0) 推荐(0)

摘要:进入vi的命令vi filename :打开或新建文件,并将光标置于第一行首vi +n filename :打开文件,并将光标置于第n行首vi + filename :打开文件,并将光标置于最后一行首vi +/pattern filename:打开文件,并将光标置于第一个与pattern匹配的串处vi -r filename :在上次正用vi编辑时发生系统崩溃,恢复filenamevi filen... 阅读全文

posted @ 2007-12-21 09:59 hcfalan 阅读(277) 评论(0) 推荐(0)

摘要:EnableGlobalItemIdentityC(e) := 1 = 1; 阅读全文

posted @ 2007-07-09 14:53 hcfalan 阅读(341) 评论(1) 推荐(0)

摘要:... 阅读全文

posted @ 2007-04-26 10:03 hcfalan 阅读(309) 评论(0) 推荐(0)

摘要:ExpandRelationWithCtxt 即可以展开动态(dynamic)关系,也可以展开持久化(instantiable)关系;GetRelatedObjects只可以展开持久化(instantiable)关系; 阅读全文

posted @ 2007-04-25 11:03 hcfalan 阅读(267) 评论(0) 推荐(0)

摘要:搜索并添加 零件与零件族关系的创建过程 背景:公司实施了零件族管理模块(PFM),从零件相关项界面点击“搜索并添加”进入搜索界面,选“叶节点族”进行搜索后将所有叶节点族搜索出来提供用户选择一个与当前零件建立关系。要求:建立零件分类与零件族的配置关系,在用户搜索“叶节点族”进行与零件创建关系的时候,仅仅选出由配置关系定义了的零件族。 实现: CS端用户输入零件的obid,返回配置相关的零件族对... 阅读全文

posted @ 2007-04-17 09:05 hcfalan 阅读(543) 评论(0) 推荐(0)

摘要:客户化MyClass的Summary页的Properties: 创建一个Widge Form: 为该Widge Form 创建 Content: ... 阅读全文

posted @ 2007-03-08 14:04 hcfalan 阅读(233) 评论(0) 推荐(0)

摘要:1// 假设源对象为oriObj 2 3ObjectPtr newObj = NULL; 4ObjectPtr dialogObj = NULL; 5SetOfStrings extraStr = NULL; 6SetOfObjects extraObj = NULL; 7 8ConstructItem(AssemblyClass, mfail, &newObj); 9SetUpDialog(A... 阅读全文

posted @ 2007-01-07 16:06 hcfalan 阅读(275) 评论(0) 推荐(0)

摘要:item_handle to EntityHandle import com.sdrc.metaphase.enterprise.es.base.Accessor; Accessor accessor = (Accessor)esManager.getProcessor("base.Accessor", esSession); EntityHandle entity_handle = access... 阅读全文

posted @ 2006-12-13 11:27 hcfalan

摘要://*********************************// EnterpriseActionComponent//*********************************Manager esManager = ESUtil.getESManager(action_context);Session esSession = ESUtil.getESSession(acti... 阅读全文

posted @ 2006-12-11 14:43 hcfalan 阅读(465) 评论(0) 推荐(0)

摘要:eds_mwau_act_chain_clone_variable [action-chain]chain-input: inVariablechain-output: outVariablefor example, copy parameter 'eds_global_current_item_handle' value to parameter 'eds_global_background_i... 阅读全文

posted @ 2006-12-11 14:39 hcfalan 阅读(583) 评论(1) 推荐(0)

摘要:1. Spec文件Option=value,relation-name,[relation-attributes],relate-classX的含义: Value Description 0 Creates object witho... 阅读全文

posted @ 2006-11-21 22:37 hcfalan 阅读(327) 评论(0) 推荐(0)

摘要:TCE条件表达式 Table 16-3. Conditional Expression Values Type Description ... 阅读全文

posted @ 2006-09-08 14:22 hcfalan 阅读(404) 评论(0) 推荐(0)

摘要:执行like查询 如果物料代码的编码形于XXXXXX, 要查询574*的物料代码,可在代码中使用如下方法: string pattern = "574___"; //因为物料编码为6位,所以添加三个下划线填充空位 if( (dstat = oiSqlCreateSelect( &sql )) || (dstat = oiSqlWhereBegParen(sql))|| ... 阅读全文

posted @ 2006-08-08 09:32 hcfalan 阅读(284) 评论(0) 推荐(0)

摘要:在为某些类添加了自定义属性之后,必须根据数据字典更新数据库架构,命令如下: 1 cd dir 2 nmake clobber clean 3 cnvdef 4 nmake init 5 nmake all 6 updatedb -o tmti.bak -n svr\tmti.prd NOTE: must run at "dir" directory! OK, that's all. 阅读全文

posted @ 2006-06-10 16:38 hcfalan 阅读(305) 评论(1) 推荐(0)

摘要:背景:在一般的客户化情景中,都会为系统类添加一些自定义的属性,并且将这些属性添加到对应类的创建、查看、更新对话框窗体中去,这时候如果不改变这个对话框的布局的话,整个窗体会显得比较难看,此时就应该使用DWE工具编辑这些更改过了的对话框窗体。 情景:定义一个PartColor属性,store as name value table, attach to Part, attach to DPrtCre,... 阅读全文

posted @ 2006-06-10 16:37 hcfalan 阅读(287) 评论(0) 推荐(0)

摘要:1、edit gendoc.met to contains: attach message DoCreatePre to GenDoc in server bbksvr; 2、edit gendoc.mth to contains: message GenDoc:DoCreatePre ( update: ObjectPtr thisObj:: ... 阅读全文

posted @ 2006-06-10 16:36 hcfalan 阅读(271) 评论(0) 推荐(0)

摘要:例如,客户化类a2BusNew重新定义了IncrementRevision方法,并且Insert under BusItem,那么所有BusItem的子类执行IncrementRevision的时候都会使用a2BusNew对IncrementRevision的定义,现在想对GenDoc执行IncrementRevision的时候不使用新的定义,而使用BusItem的原始定义,那么可以: 1、创建g... 阅读全文

posted @ 2006-06-10 16:35 hcfalan 阅读(368) 评论(1) 推荐(0)

摘要:1. build stand-alone custome server. edit the file "dir/svr/defbbk.met", comment out the "resolve server bbksvr dynamically" line.2. turn on the method tracing at bbksvr. edit the file "dir/cus.cf... 阅读全文

posted @ 2006-06-10 16:34 hcfalan 阅读(218) 评论(0) 推荐(0)

摘要:1. edit/create the file: dir/svr/bbkins.met, add the fellowing line: insert a2BusNew under BusItem;2. edit the file: dir/svr/mti.prd, add the fellowing as first line: include "bbkins.met"3. attach... 阅读全文

posted @ 2006-06-10 16:33 hcfalan 阅读(230) 评论(0) 推荐(0)