목차 숨기기

Example - Mapping a Revision Number to a Drawing Title Block

In this example, a workflow updates drawing title blocks whenever a drawing is approved.

This example demonstrates the only method available for updating a file data card variable with the file revision number. You cannot update a file data card with a revision number using the Increment Revision command from the Explorer view.

This example is based on the default workflow and file data cards created when setting up a new vault.
  1. Create the revision number format as described in Creating Revision Numbers:
    1. Create a revision number component called AlphaRev with a format string of A,B,C,...,Z and an initial value of 1.
    2. Create a revision number format called Revision using the AlphaRev component.
  2. Set up the data card variable mapping (see Mapping to SOLIDWORKS Custom Properties):
    1. Open the SOLIDWORKS file data card.
    2. Add an edit box control with a variable called Revision.
    3. Edit the Revision variable to make sure the CustomProperty block has a Revision attribute mapped to SOLIDWORKS drawing files (.slddrw).
  3. Link the revision number to the workflow (see Creating Workflow Transitions and Creating Workflow States):
    1. Open Default Workflow.
    2. Open the Passed approval transition Properties dialog box.
    3. Add a new Set Variable action to assign the Revision variable to Next Revision (%nextrevision%).
    4. Add an Inc. Revision action.

      Ensure that the Inc. Revision action follows all Set Variable actions, otherwise the revision will be set on the previous version that is created when the variable is updated.

    5. Close the transition's Properties dialog box.
    6. Click the Approved state box.
    7. On the Revision Numbers tab, from the State revision number list, select Revision.
    8. Close the state's Properties dialog box and save the workflow.
  4. Set up the SOLIDWORKS drawing title block:
    1. Open a drawing file in SOLIDWORKS.
    2. Edit the sheet format to add a note linked to a custom property called Revision.
    3. Save the drawing to a local folder.
  5. Test the updating of the drawing title block:
    1. Drag the SOLIDWORKS drawing into a vault view folder and check in the file.
    2. Change state of the drawing until it passes the Passed Approval transition and ends up in the Approved state.

      The next revision should now be set on the drawing file and the Revision variable in the file data card should show the value.

    3. Open the drawing in SOLIDWORKS.

      The revision appears in the title block.



이 도움말에 대한 피드백 제공

SOLIDWORKS는 도움말 정보의 개선을 위한 고객님의 제안 사항과 의견을 환영합니다. 제안하고자 하는 의견을 아래 양식에 작성하여 도움말 문서 팀에 직접 전달할 수 있습니다. 문서 팀은 제품에 관한 기술적인 지원은 하지 않습니다. 기술 지원에 관한 정보는 여기를 클릭하십시오.

* 필수 입력

 
*전자 메일:  
제목:   도움말에 대한 피드백
페이지:   Example - Mapping a Revision Number to a Drawing Title Block
*사용자 의견:  
*   개인정보 보호정책을 읽었으며 본 정책에 따라 Dassault Systèmes에서 내 개인 정보를 사용하는 것에

인쇄 항목

인쇄할 콘텐츠 범위 선택:

x

Internet Explorer 7 이전 버전을 사용하고 있습니다. 페이지를 최적화하려면 사용 브라우저를 Internet Explorer 7 이상으로 업그레이드합니다.

 이 메시지를 다시 표시하지 않음
x

웹 도움말 콘텐츠 버전: SOLIDWORKS PDM 2014 SP05

SOLIDWORKS에서 웹 도움말 기능을 비활성화하고 로컬 도움말을 사용하려면, 도움말 > SOLIDWORKS 웹 도움말 사용을 클릭합니다.

웹 도움말 인터페이스나 검색 기능에서 발생한 오류 사항을 보고하려면, 로컬 지원 서비스 담당자에게 문의하십시오. 개별 도움말 항목에 대한 피드백을 제공하려면, 각 도움말 페이지의 "이 단원에 대한 피드백 제공" 링크를 사용하십시오.