专业化管理 > 定制业务对象 > 对象初始化规则管理 > 使用对象初始化规则 > 使用受支持的类型和属性
  
使用受支持的类型和属性
* 
某些类型和属性 (例如计算的属性) 在出厂设置对象初始化规则中不受支持,且需要使用自定义算法。有关最新的支持类型和属性的列表,请参阅其他类型和属性对中所述的 RuleConfigurableTypeAttribute.properties 文件,以确定出厂配置中支持的其他对象类型和属性。如果您无权访问配置文件,请与系统管理员联系。
对于所有 Windchill 解决方案,您可以使用对象初始化规则中的 AttrValue 和 AttrConstraint 元素来指定默认值及显示受支持的对象类型的约束。下表列出了对象初始化规则出厂设置所支持的对象类型和属性对。如果对象类型不支持使用 AttrConstraint 元素,“受支持的属性”列将为空。
对象类型
受支持的属性
com.ptc.windchill.enterprise.requirement.Requirement
Number
folder.id
com.ptc.windchill.enterprise.requirement.Specification
Number
folder.id
com.ptc.windchill.rd.ReceivedDelivery
Number
lifecycle
lifeCycle.id
com.ptc.wpcfg.doc.VariantSpec
Number
Name
Description
lifecycle
lifeCycle.id
teamTemplate
teamTemplate.id
folder.id
organization.id
com.ptc.windchill.option.model.OptionSet
Name
Description
lifecycle
lifeCycle.id
com.ptc.windchill.option.model.ChoiceMapping
number
com.ptc.windchill.option.model.ChoiceConstraint
number
com.ptc.core.managedcollection.ManagedCollectionImpl
Number
folder.id
com.ptc.rialto.WTSoftwareIssue
Number
lifecycle.id
teamTemplate
teamTemplate.id
folder.id
organization.id
com.ptc.windchill.wp. AbstractWorkPackage
Number
lifeCycle
lifeCycle.id
teamTemplate
teamTemplate.id
organization.id
com.ptc.windchill.wp.delivery.DeliveryRecord
number
wt.access.agreement.AuthorizationAgreement
Number
folder.id
lifecycle
lifeCycle.id
wt.annotation.StructuredAnnotationSet
wt.change2.WTAnalysisActivity
wt.change2.WTChangeIssue
Number
lifeCycle.id
lifecycle
teamTemplate
teamTemplate.id
folder.id
organization.id
wt.change2.WTChangeInvestigation
wt.change2.WTChangeOrder2
Number
lifeCycle.id
lifecycle
teamTemplate
teamTemplate.id,
folder.id
organization.id
wt.change2.WTChangeActivity2
Number
lifeCycle.id
lifecycle
teamTemplate
teamTemplate.id
organization.id
wt.change2.WTChangeProposal
wt.change2.WTChangeRequest2
Number
lifeCycle.id
lifecycle
teamTemplate
teamTemplate.id
folder.id
organization.id
wt.change2.WTVariance
Number
lifeCycle.id
lifecycle
teamTemplate
teamTemplate.id
folder.id
organization.id
wt.change2.workset.WTWorkSet
Number
lifeCycle.id
lifecycle
teamTemplate
teamTemplate.id
organization.id
wt.doc.WTDocument
Number
lifeCycle.id
lifecycle
teamTemplate
teamTemplate.id
folder.id
organization.id
wt.enterprise.Managed
wt.epm.EPMDocument
Number
Name
lifeCycle.id
lifecycle
teamTemplate
teamTemplate.id
folder.id
organization.id
wt.epm.familytable.EPMSepFamilyTable
wt.maturity.PromotionNotice
Number
lifeCycle.id
lifecycle
teamTemplate
teamTemplate.id
folder.id
organization.id
wt.meeting.actionitem.DiscreteActionItem
wt.meeting.TraditionalMeeting
wt.part.alternaterep.WTPartAlternateRep
Number
Name
lifecycle
lifeCycle.id
teamTemplate
teamTemplate.id
folder.id
organization.id
wt.part.WTPart
Number
Name
lifecycle
lifeCycle.id
teamTemplate
teamTemplate.id
folder.id
organization.id
wt.part.WTProductConfiguration
lifeCycle.id
lifecycle
teamTemplate
teamTemplate.id
wt.part.WTProductInstance2
lifeCycle.id
lifecycle
teamTemplate
teamTemplate.id
wt.vc.baseline.ManagedBaseline
Number
lifeCycle.id
lifecycle
teamTemplate
teamTemplate.id
folder.id
如果安装了 Windchill MPMLink,您可以使用对象初始化规则中的 AttrValue 和 AttrConstraint 元素指定默认值及显示受支持的对象类型的约束。下表列出了对象初始化规则出厂设置所支持的对象类型和属性对。如果对象类型不支持使用 AttrConstraint 元素,“受支持的属性”列将为空。
对象类型
受支持的属性
com.ptc.windchill.mpml.processplan.
MPMProcessPlan
number
folder.id
lifeCycle
lifeCycle.id
teamTemplate
teamTemplate.id
organization.id
com.ptc.windchill.mpml.processplan.
sequence.MPMSequence
number
folder.id
lifeCycle
lifeCycle.id
teamTemplate
teamTemplate.id
organization.id
com.ptc.windchill.mpml.processplan.
operation.MPMOperation
number
folder.id
lifeCycle
lifeCycle.id
teamTemplate
teamTemplate.id
organization.id
com.ptc.windchill.mpml.mfgprocess.
MPMMfgStandardGroup
number
folder.id
lifeCycle
lifeCycle.id
teamTemplate
teamTemplate.id
organization.id
com.ptc.windchill.mpml.mfgprocess.
MPMMfgProcess
number
folder.id
lifeCycle
lifeCycle.id
teamTemplate
teamTemplate.id
organization.id
com.ptc.windchill.mpml.resource.MPMPlant
number
com.ptc.windchill.mpml.resource.
MPMProcessMaterial
number
com.ptc.windchill.mpml.resource.
MPMResourceGroup
number
com.ptc.windchill.mpml.resource.MPMSkill
number
com.ptc.windchill.mpml.resource.MPMTooling
number
com.ptc.windchill.mpml.resource.MPMWorkCenter
number
com.ptc.windchill.mpml.pmi.MPMControlCharacteristic
number
如果安装了 Windchill Supplier Management,您可以使用对象初始化规则中的 AttrValue 和 AttrConstraint 元素指定默认值及显示受支持的对象类型的约束。下表列出了对象初始化规则出厂设置所支持的对象类型和属性对。如果对象类型不支持使用 AttrConstraint 元素,“受支持的属性”列将为空。
对象类型
受支持的属性
com.ptc.windchill.suma.npi.WTPartRequest
number
teamTemplate.id
com.ptc.windchill.suma.supplier.Manufacturer
com.ptc.windchill.suma.supplier.Supplier
com.ptc.windchill.suma.supplier.Vendor
创建规则时,还可以选择之前表格中列出的对象类型的任何子类型。“类型和属性管理”实用程序可用于创建子类型。使用“类型和属性管理”实用程序中定义的类型的内部名称。有关详细信息,请参阅关于“类型和属性管理”实用程序
要使用未在 RuleConfigurableTypeAttribute.properties 文件中列出的对象类型的属性的默认值,请参阅其他类型和属性对
要使用 AttrConstraint 元素为未在 RuleConfigurableTypeAttribute.properties 文件中列出的类型和属性对指定约束,请参阅其他类型和属性对
以下列出的相关主题介绍了与 AttrValueAttrConstraint 标记结合使用的出厂设置属性。
AttrValue 的 Windchill 对象属性
AttrConstraint 的 Windchill 对象属性