資料管理能力 > 管理零件結構 > Windchill 選項及變體功能 > 管理選項及變體的資料 - 參考 > 載入選項及變體的資料 > 將選擇新增到選項集
  
將選擇新增到選項集
可使用 Windchill 載入程式在 Windchill 資料庫中載入 com.ptc.windchill.option.model.OptionSetMemberLink 物件。為了使選擇與選項集相關聯,選擇必須存在於系統中。此功能可與建立選項集載入程式一起使用。
XML 格式:
<csvAddChoice handler="com.ptc.windchill.option.load.Loader.addChoice" >
<csvname>choice name</csvname>
<csvcontainerPath>container of choice to search for choice to be added
</csvcontainerPath>
</csvAddChoice>
csvAddChoice 的屬性
屬性
描述
必要還是選用?
csvname
選擇名稱
必要
csvoption
為其定義選擇的選項名稱
選用
csvcontainerPath
選擇所在前後關聯的路徑
選用
csvstartDate
選擇生失效的開始日期
選用
csvendDate
選擇生失效的結束日期
選用
範例:
<csvAddChoice handler="com.ptc.windchill.option.load.Loader.addChoice">
<csvname>Red</csvname>
<csvcontainerPath />
</csvAddChoice>