数据管理功能 > 管理部件结构 > Windchill 选项与变型功能 > 管理选项和变型的数据 - 参考 > 将数据加载到选项和变型中 > 注册选项集
  
注册选项集
使用 Windchill 加载程序将 com.ptc.windchill.option.model.RegistreOptionSetLink 对象加载到 Windchill 数据库中。借助此关联,选项集可与 WTPatMaster、PDMLinkProduct、WTLibrary 等 OptionSetAssignable 对象相关联。然后,便可将其用作已分配的选项集。
XML 格式:
<csvRegisterOptionSet handler="com.ptc.windchill.option.load.Loader.registerOptionSet" >
<csvname>option set name</csvname>
<csvoptionSetContainerPath>container of the option set</csvoptionSetContainerPath>
</csvRegisterNavigationFilterTemplate >
csvRegisterOptionSet 的属性
属性
说明
是必需还是可选?
csvname
选项集名称
必需
csvstate
生命周期状态
可选
csvoptionSetContainerPath
选项集所在上下文的路径
可选
csvOptionSetAssignableClass
可分配选项集的类名称,如 wt.pdmlink.PDMLinkProduct 或 wt.part.WTPartMaster
可选
csvOptionSetAssignableNumber
可分配选项集的编号,如部件编号
可选
示例:
<csvRegisterOptionSet handler="com.ptc.windchill.option.load.Loader.registerOptionSet">
<csvname>Colour Pallet</csvname>
</csvRegisterOptionSet>