feat: add azxs and bkxs condition extraction
Added two new extraction rules to clsConditionExtractor: - azxs (安装形式): Extract installation form code from InstallForm field - bkxs (表壳形式): Extract shell form code from ShellForm field Examples: - azxs: A0 (径向无边), Z0 (中轴向无边) - bkxs: 532 (53=304外壳+安装式, 2=外卡式) These new conditions can now be used in material selection expressions. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -41,6 +41,15 @@ Private Sub InitializeRules()
|
||||
' 从 RangeCode 中直接提取
|
||||
m_ExtractionRules("lcfw") = Array("RangeCode", "Direct")
|
||||
|
||||
' 规则4: 安装形式 (azxs)
|
||||
' 从 InstallForm 中直接提取(例如:A0=径向无边, Z0=中轴向无边)
|
||||
m_ExtractionRules("azxs") = Array("InstallForm", "Direct")
|
||||
|
||||
' 规则5: 表壳形式 (bkxs)
|
||||
' 从 ShellForm 中直接提取(3位代码:前2位表壳类型+后1位罩壳类型)
|
||||
' 例如:532 = 53(304外壳、安装式) + 2(外卡式)
|
||||
m_ExtractionRules("bkxs") = Array("ShellForm", "Direct")
|
||||
|
||||
' 未来可以在这里添加更多提取规则...
|
||||
' 例如:
|
||||
' m_ExtractionRules("bplx") = Array("DialCode", "Direct") ' 表盘类型
|
||||
|
||||
Reference in New Issue
Block a user