別名
可使用 Windchill 載入程式在 Windchill 資料庫中載入 com.ptc.windchill.option.model.ExpressionAlias 物件。
XML 格式:
csvBeginExpressionAlias 的屬性
屬性
|
描述
|
必要還是選用?
|
csvnumber
|
規則數目
|
選用
|
csvversion
|
別名的版本
|
選用
|
csviteration
|
別名的版序
|
選用
|
csvdescription
|
別名描述
|
選用
|
csvcontainerPath
|
別名所在前後關聯的路徑
|
選用
|
csvlifecycletemplate
|
生命週期範本
|
選用
|
csvlifecyclestate
|
生命週期狀態範本
|
選用
|
csvfolder
|
資料夾位置
|
選用
|
範例:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE NmLoader SYSTEM "standardX24.dtd">
<NmLoader>
<!-- Create alias "PURPLE" version [B.2] -->
<csvBeginAlias handler="com.ptc.windchill.option.load.Loader.beginAlias">
<csvtypedef>com.ptc.windchill.option.model.ExpressionAlias</csvtypedef>
<csvname>PURPLE</csvname>
<csvexpressionString>"Telecom" OR "Modem"</csvexpressionString>
<csvversion>B</csvversion>
<csviteration>2</csviteration>
<csvnumber>PURPLE</csvnumber>
<csvdescription>This is an alias named "PURPLE"</csvdescription>
<csvcontainerPath>/wt.inf.container.OrgContainer=Demo Organization/wt.pdmlink.PDMLinkProduct=Power System</csvcontainerPath>
<csvfolder>Default/folder1</csvfolder>
<csvlifecycletemplate>Default</csvlifecycletemplate>
<csvlifecyclestate>RELEASED</csvlifecyclestate>
</csvBeginAlias>
<csvEndAlias handler="com.ptc.windchill.option.load.Loader.endAlias"/>
<!-- Create alias "PURPLE" version [A.1] -->
<csvBeginAlias handler="com.ptc.windchill.option.load.Loader.beginAlias">
<csvtypedef>com.ptc.windchill.option.model.ExpressionAlias</csvtypedef>
<csvname>PURPLE</csvname>
<csvexpressionString>"Telecom" OR "Modem"</csvexpressionString>
<csvversion>A</csvversion>
<csviteration>1</csviteration>
<csvnumber>PURPLE</csvnumber>
<csvdescription>This is an alias named "PURPLE"</csvdescription>
<csvcontainerPath>/wt.inf.container.OrgContainer=Demo Organization/wt.pdmlink.PDMLinkProduct=Power System</csvcontainerPath>
<csvfolder>Default/folder1</csvfolder>
<csvlifecycletemplate>Default</csvlifecycletemplate>
<csvlifecyclestate>RELEASED</csvlifecyclestate>
</csvBeginAlias>
<csvEndAlias handler="com.ptc.windchill.option.load.Loader.endAlias"/>
<!-- Create alias "IVORY" version [A.1] -->
<csvBeginAlias handler="com.ptc.windchill.option.load.Loader.beginAlias">
<csvtypedef>com.ptc.windchill.option.model.ExpressionAlias</csvtypedef>
<csvname>IVORY</csvname>
<csvexpressionString>PURPLE</csvexpressionString>
<csvnumber>IVORY</csvnumber>
<csvdescription>This is an alias named "IVORY"</csvdescription>
<csvcontainerPath>/wt.inf.container.OrgContainer=Demo Organization/wt.pdmlink.PDMLinkProduct=Power System</csvcontainerPath>
<csvfolder>Default/folder1</csvfolder>
<csvlifecycletemplate>Default</csvlifecycletemplate>
<csvlifecyclestate>RELEASED</csvlifecyclestate>
</csvBeginAlias>
<csvEndAlias handler="com.ptc.windchill.option.load.Loader.endAlias"/>
<!-- Create alias "TURQUOISE" version [C.3] -->
<csvBeginAlias handler="com.ptc.windchill.option.load.Loader.beginAlias">
<csvtypedef>com.ptc.windchill.option.model.ExpressionAlias</csvtypedef>
<csvname>TURQUOISE</csvname>
<csvexpressionString>None</csvexpressionString>
<csvversion>C</csvversion>
<csviteration>3</csviteration>
<csvnumber>TURQUOISE</csvnumber>
<csvdescription>This is an alias named "TURQUOISE"</csvdescription>
<csvcontainerPath>/wt.inf.container.OrgContainer=Demo Organization/wt.pdmlink.PDMLinkProduct=Power System
</csvcontainerPath>
<csvfolder>Default/folder1</csvfolder>
<csvlifecycletemplate>Default</csvlifecycletemplate>
<csvlifecyclestate>UNDERREVIEW</csvlifecyclestate>
</csvBeginAlias>
<csvEndAlias handler="com.ptc.windchill.option.load.Loader.endAlias"/>
<!-- Create alias "MAGENTA" version [A.1] -->
<csvBeginAlias handler="com.ptc.windchill.option.load.Loader.beginAlias">
<csvtypedef>com.ptc.windchill.option.model.ExpressionAlias</csvtypedef>
<csvname>MAGENTA</csvname>
<csvexpressionString>"TURQUOISE" AND "Battery"</csvexpressionString>
<csvnumber>MAGENTA</csvnumber>
<csvdescription>This is an alias named "MAGENTA"</csvdescription>
<csvcontainerPath>/wt.inf.container.OrgContainer=Demo Organization/wt.pdmlink.PDMLinkProduct=Power System</csvcontainerPath>
<csvfolder>Default/folder1</csvfolder>
<csvlifecycletemplate>Default</csvlifecycletemplate>
<csvlifecyclestate>INWORK</csvlifecyclestate>
</csvBeginAlias><csvEndAlias handler="com.ptc.windchill.option.load.Loader.endAlias"/>
</NmLoader>