추가 Windchill 기능 > 제조 공정 관리 > 제품 구조 탐색기(PSE) 사용자 정의 > 새 객체 작성 중 추가 단계 허용
  
새 객체 작성 중 추가 단계 허용
PSE 작성 마법사는 ExplorerForTablesAndPanels.xml에 정의됩니다. "새 객체 작성" 마법사는 id가 ptc.wnc.exp.CreateWizardList인 WizardList 세그먼트에 정의되고 "새 하위 삽입" 마법사는 id가 ptc.wnc.exp.CreateChildWizardList인 WizardList 세그먼트에 정의됩니다.
ExplorerForTablesAndPanels.xml을 편집하는 대신 별도의 xml 파일에 이러한 마법사를 사용자 정의하는 것이 좋습니다. WizardList에 현재 허용되는 단계는 AttributeGroup 및 AttributeTable입니다.
새 AttributeGroup 또는 AttributeTable을 추가하려면 사용자 정의 파일에서 WizardList를 재정의하고 Placement 세그먼트와 함께 새 단계를 포함하십시오. 예:
<WizardList id="ptc.wnc.exp.CreateChildWizardList">
<AttributeGroup id="ptc.custom.exp.CustomCreatePartTab2A">
<Placement insertKey="after"
insertId="ptc.wnc.exp.CreateChildPartTab2"/>
<CellDefinition id="endItem">
<AttributeDefinition attributeId="endItem"/>
</CellDefinition>
</AttributeGroup>
<WizardList>
첫째 줄에는 수정할 WizardList의 ID가 복제되어 있습니다. 둘째 줄에는 새 AttributeGroup이 인라인으로 추가되었습니다. 다른 위치에 정의한 후 원래 WizardList 정의와 유사하게 여기로 가져올 수도 있습니다. Placement 세그먼트는 새 AttributeGroup이 CreateChildPartTab2 뒤에 표시됨을 나타냅니다.
사용하지 않을 AttributeGroup 또는 AttributeTable을 원래 WizardList에서 제거할 수도 있습니다. 예를 들어, 다음 xml은 마법사의 마지막 단계(모든 재사용 가능 속성을 보여 주는 AttributeTable)를 제거합니다.
<WizardList id="ptc.wnc.exp.CreateChildWizardList">
<AttributeTable id="ptc.wnc.exp.CreatePartTab3">
<Placement remove="true"/>
</AttributeTable>
</WizartList>
ExplorerForTablesAndPanels.xml에는 AttributeGroup 또는 AttributeTable을 작성하는 방법을 보여 주는 적절한 예가 다수 포함되어 있습니다. 표시할 각 속성에 대한 CellDefinition 목록을 이러한 세그먼트 중 하나에 정의합니다.
기존 AttributeGroup 또는 AttributeTable을 재정의하고 Placement 세그먼트를 사용하여 Celldefinition을 추가 또는 제거할 수도 있습니다. 예:
<AttributeGroup id="ptc.wnc.exp.CreatePartTab2">
<CellDefinition id="partType">
<AttributeDefinition attributeId="partType"/>
<Placement insertKey="before" insertId="endItem"/>
</CellDefinition>
<CellDefinition id="genericType">
<AttributeDefinition attributeId=" genericType"/>
<Placement remove="true"/>
</CellDefinition>
</AttributeGroup>
이 예에서는 CreatePartTab2 단계에 대해 정의된 기존 AttributeGroup을 사용하고 endItem 앞에 partType 속성을 추가하고 genericType 속성을 제거합니다. CreateWizardList와 CreateChildWizardList를 모두 수정할 수 있도록 CreatePartTab2를 두 마법사 모두로 가져옵니다.