Skrýt obsah

Set variables Dialog Box

Use the Set variables dialog to define Enterprise PDM Dispatch variables that evaluate when a Dispatch action runs.

To display this dialog box, click Variables in the Edit Action dialog box or select Userdefined Variables > New Variable.

Use variables in your scripts to store and manipulate values. You might find it useful to store the name of the selected file or the value of a file's data card, for example. You can build variables by combining predefined variables or user-defined variables. For example, if a variable Release is set to %Number%_%Rev%.pdf, the value of Release is derived by evaluating the variables Number and Rev. For example, if Number is 4 and Rev is 2, then Release is set to 4_2.pdf.

Variables are formatted as strings with the variable name enclosed in "%" signs. For example, "%PathToSelectedFile%" evaluates to the path and filename of the currently selected file when the Dispatch action runs.

The Set variable dialog prompts you with specific fields depending upon the types of the variables you are creating. For example, if you create a new variable of type Static string, a text field labeled Value prompts you for the string value.

Variables

Lists the name and information for all user-defined variables.

Add

Click to add a new user-defined variable.

Remove

Click to remove an existing user-defined variable.

Name

Specifies the name for the user-defined variable. This variable name is then referred to by enclosing it between "%" signs, for example, %VersionValue%.

The name you specify must not duplicate predefined file variables.

Type

Lets you select the type of variable to be used. Depending on the selected type, different option fields display to further specify the type.

Value

Enter a value for the variable. Click right arrow to select predefined string functions, arithmetic functions, and variables.



Vyjádřete svůj názor na toto téma

SOLIDWORKS uvítá vaše názory ohledně prezentace, přesnosti a obsahu dokumentace. Pomocí níže uvedeného formuláře zašlete komentáře a doporučení k tomuto tématu přímo dokumentačnímu týmu. Dokumentační tým nebude odpovídat na otázky související s technickou podporou. Klepnutím zde získáte informace o technické podpoře.

* Povinné

 
*Email:  
Předmět:   Váš názor na témata nápovědy
Stránka:   Set variables Dialog Box
*Komentář:  
*   Prohlašuji, že jsem si přečetl/a a souhlasím se zásadami ochrany osobních údajů, podle kterých bude společnost Dassault Systèmes zpracovávat moje osobní údaje

Tisk tématu

Zvolte rozsah, který se má tisknout:

x

Zjistili jsme, že používáte starší verzi prohlížeče než je Internet Explorer 7. Pro optimální zobrazení vám doporučujeme, aby jste upgradovali na Internet Explorer 7 nebo novější.

 Příště tuto zprávu nezobrazovat
x

Verze nápovědy na webu: SOLIDWORKS PDM 2012 SP05

Chcete-li vypnout webovou nápovědu v rámci SOLIDWORKS a raději používat místní nápovědu, klikněte na Nápověda > Použít SOLIDWORKS nápovědu na webu.

Problémy s uživatelským rozhraním a vyhledáváním v nápovědě na webu nahlaste zástupci místní technické podpory. Zašlete váš názor na individuální témata nápovědy prostřednictvím odkazu “Váš názor na toto téma” na každé straně.