목차 숨기기

Creating Dynamically-controlled Card Lists

You can make the values of one list control determine what appears in a second list control when both are used in a file or item card. This is done by creating card lists with related list values.

In this example, you create three card lists:
  • A controlling card list, with two values
  • Two dependent card lists that correspond to the values in the controlling list

When you create the data card, you add one list control to let users select a value from the controlling card list. You add a second list control and make the options that users can select depend on their selection in the first list control.

To use card lists dynamically in a data card:

  1. Right-click Lists (for cards) and select Add New.
  2. In the dialog box, create the controlling card list using the following values:

    List name

    Material

    Data type

    Text

    Data

    Metal

    Plastic

  3. Click Save .
  4. Repeat steps 1 through 3 to create two dependent card lists that correspond to the data values Metal and Plastic in the controlling list:

     

    for Metal

    for Plastic

    List name

    Metal types

    Plastic types

    Data type

    Text

    Text

    Data

    Copper

    Stainless Steel

    Zinc

    Polyethylene

    Polypropylene

    Polystyrene

    Although these list names match the values in the controlling card list Data field, you can assign any name you want for List name. It is not until you add controls to the data card that you create the actual relationship between the lists.

  5. Create a data card and add a list control (List box, Combobox, Droplist, or Combolist).
  6. In the control's properties pane, under Items, select Special value and select the controlling card list, Material.
  7. Under Value, select a Variable name to store the value.
  8. Add a second list control.
  9. To make the list values in this list control depend on what the user selects in the first list control, select Controlled by variable and click Details.
  10. In the Controlled by variable dialog box, for Variable, select the variable connected to the controlling list control, in this case, Material.
  11. Click under Variable Value and type a variable value, for example, Metal.
  12. Under CardList, select the list to show if the variable value matches the user's selection.
  13. To add another variable value, repeat steps 9 and 10.
  14. Under Value, link the second list control to a variable, for example Type.
  15. Click File > Save to save the data card.
When a user completes the data card, the value selected in the first list (Material) controls the list values available in the second list (Type).


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

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

* 필수 입력

 
*전자 메일:  
제목:   도움말에 대한 피드백
페이지:   Creating Dynamically-controlled Card Lists
*사용자 의견:  
*   개인정보 보호정책을 읽었으며 본 정책에 따라 Dassault Systèmes에서 내 개인 정보를 사용하는 것에

인쇄 항목

인쇄할 콘텐츠 범위 선택:

x

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

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

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

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

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