Article - CS30181

How to define the default "View" for a "Part" in Windchill

Modified: 20-Aug-2025   


Applies To

  • Windchill PDMLink 8.0 M020 to 13.1
  • Windchill MPMLink 10.0 to 13.1
  • Windchill Service Information Manager 10.2 to 13.1

Description

  • How to setup an Object Initialization Rule (OIR) for a View and another OIR for a sub-view of the original view
  • How to set up an OIR to choose a View for a Part or it's soft-types at object creation time
  • How to set the View attribute to default to Design or Manufacturing for sub-type
  • How to set the View attribute to default to different value for different sub-type
  • The default View for WTPart cannot be set at the global level
  • Adding the XML below to rule.xml is raising a exception in MethodServer log
<AttrValue id="view.id" algorithm="com.ptc.core.foundation.vc.views.server.impl.ViewAttributeAlgorithm">
  <Arg>DesignNG</Arg>
</AttrValue>

 
  • Error message in MethodServer log file
(com.ptc.core.foundation.vc.views.server.impl.implResource/1) wt.util.WTException: Message:  Resource bundle/Message key = com.ptc.core.foundation.vc.views.server.impl.implResource/1
at com.ptc.core.foundation.vc.views.server.impl.ViewAttributeAlgorithm.calculate(ViewAttributeAlgorithm.java:59)
at wt.rule.algorithm.RuleAlgorithmHelper.calculate(RuleAlgorithmHelper.java:126)
at wt.rule.algorithm.RuleAlgorithmHelper.calculate(RuleAlgorithmHelper.java:84)



 
This is a printer-friendly version of Article 30181 and may be out of date. For the latest version click CS30181