목차 숨기기

Using Input Formula Aliases

When you use an alias in an input formula, the variable value selected in a control is evaluated to a different value in the input formula field.

The format of an alias in an input formula is as follows:

%VARIABLENAME(VALUE1=ALIAS1, VALUE2=ALIAS2)%

Where VALUE is the entered value in variable VARIABLENAME and ALIAS is the evaluated value.

When you use aliases in an input control, you create a single list control that contains a set of text strings defined in the Free text property. Then you create an edit box control and add an input formula that maps to the list control variable and the text strings.

This example describes how to create an input formula that allows the user to select a component from a list and view its price in an edit box.

To use an alias in an input formula:

  1. Double-click Cards.
  2. In the Card Editor, create a new card.
  3. Add a Combobox Droplist control.
  4. In the Droplist properties pane:,
    1. Under Value, click Variables.
    2. Create a variable named Component.
    3. Link the control to the variable.
    4. Under Items, select Free text and type a list of components.

      For example:

      long_shaft
      short_shaft

  5. Add an edit box control.
  6. In the Edit box properties pane:
    1. Under Value, click Variables.
    2. Create a variable named ComponentPrice.
    3. Link the control to the variable ComponentPrice.
    4. Beside Input formula, click .
    5. In the Input formula dialog box, type the input formula in the following format:

      %Component(1st_component=1st_price, 2nd_component=2nd_price)%

      For example:

      %Component(long_shaft=$300, short_shaft=$200)%

  7. Save the card.
When using the data card, if the user selects a component in the drop-down list, the edit box displays the alias associated with that component by the input formula.


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

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

* 필수 입력

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

인쇄 항목

인쇄할 콘텐츠 범위 선택:

x

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

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

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

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

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