admin 发表于 2020-2-21 09:46:32

Teamenter和NX集成开发,获取Cli名字为%MFK% non-default Domain 方式



Teamenter和NX集成开发,获取Cli名字为%MFK% non-default Domain 方式

获取的item名字并不是@DB/item/Rev 格式,后来发现 @DB/%#MFK#%,=item_id=8000015,object_type=Ng5_EngPart/AA

是TC设置的问题,TC_NX_Supports_MFK和 TC_MFK_DEFAULT_DOMAIN=Item


The above function is affected by MFK setting.If the Teamcenter preference TC_NX_Supports_MFK is set to True,the behavior of the function will be as below according to the document.
In case of Default Domain: it is Teamcenter Engineering item ID. In case of non-Default Domain: it is the multifield key. e.g. ,=item_id=001, object_type=Document ,=item_id=001, object_type=SupplierPart, supplier_code=x
The default domain is set by the Teamcenter PreferenceTC_MFK_DEFAULT_DOMAINThe default value is Item:
TC_MFK_DEFAULT_DOMAIN=Item
页: [1]
查看完整版本: Teamenter和NX集成开发,获取Cli名字为%MFK% non-default Domain 方式