技术文章 - CS173492
SearchCondition 中的下划线与 QuerySpec query 在 Windchill PDMLink 10.1 中忽略的 "64620_%"
已修改: 27-Sep-2022
适用于
- Windchill PDMLink 10.1 M040 to 12.0
说明
- 使用具有条件 "关键字 = 64620_ *; 的 Windchill UI 搜索" 64620_ * "Type = CAD 文档;上下文 = All Context "返回所有以" 64620_ "为前缀的9个对象,例如:64620_BASE。ASM,64620_NOZZLES。ASM 等
- 具有 QuerySpec 和 SearchCondition 的查询将返回不带下划线的对象,例如64620A00。64620A 的 ASM。Prt
QuerySpec 代码:
-
qs = new QuerySpec (wt.properties. EPMDocument);SearchCondition sc1 = new SearchCondition (EPMDocument class,EPMDocument. NUMBER,SearchCondition,如 "64620_%");qs appendWhere (sc1);qr = PersistenceHelper,find (qs);Println ("qr. size () =" + qr。大小());
这是文章 173492 的 PDF 版本,可能已过期。最新版本 CS173492