Skrýt obsah

Edit Variable Dialog Box

Use the Edit Variable dialog box to create new variables or manage existing variables.

To display this dialog box:

  • To create a new variable, right-click Variables and select New Variable.
  • To modify an existing variable, expand the Variables node and double-click the variable.

Variable

Variable name

Type a name for the variable.

Variable type

Defines the type of data to be stored in the variable.

Selecting a specific type for a variable ensures the correct values are saved in the variable and makes searching and sorting values more precise. For example, using the Date type ensures that searching between date ranges is handled correctly. However, a specific type may restrict the values that can be saved in the variable. For example, if the variable type is Date, all variable values must be formatted as a date.

The data types that can be stored are:
  • Date - Only properly formatted date values (i.e. 11/18/2008)
  • Decimal number - Only decimal numbers
  • Integer number - Only integer (whole) numbers
  • Text - Most types of character strings
  • Yes or No - Only a binary yes (1) or no (0) value

Mandatory values

Card controls using the variable cannot be left empty when updating card values or checking in files. If they are, a warning describes the missing variable value.

You cannot set a variable to mandatory if file or folder cards use that variable and the vault already contains files or folders with empty variable values.

Unique values

Card controls using the variable must contain a unique value when updating card values or checking in files. If they do not, a warning describes the missing variable value.

Copying files whose file data cards contain unique variables forces the values to be cleared in the destination file.

You cannot set a variable to unique if the vault contains files or folders with duplicate values.

Attributes

Use the Attributes list and Selected attribute section to set up how the selected variable is linked (mapped) to file properties.

Attributes

Displays the property/metadata attribute mappings for the variable.

A variable can contain many sets of attribute mappings so that one variable can be used for many different data cards. For example, both the .doc and .dwg file card contain the variable Title, but each file type uses different attribute mappings.

Block name

The file section that contains the properties/metadata (that is, attributes).

Enter a new block name or select from existing block names in the vault.

Different file types have different block names. For example, most custom properties in .xlsx files are found in the CustomProperty block, while .ipt files store many properties in the dtproperties block.

Depending on file type, some block names are predefined and others are custom named. For examples, see Variable Mapping.

Attribute name

Identifies the part of the specified block that contains the property value. For example in a .doc file, the title property value is stored in the attribute Title, which is in the block Summary.

When you enter the attribute name, you can use * as a wildcard.

Depending on file type, attribute names are predefined or custom created. For examples, see Variable Mapping.

File extensions

Enter the extensions of files that support the block/attribute mapping. Separate file extensions with commas. For example, doc, xls, ppt.

New Attribute

Adds a new attribute mapping.

Type the block name, attribute name, and extensions.

Remove Attributes

Removes the selected attribute.

Press Ctrl + select or Shift + select to select multiple attributes.


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:   Edit Variable 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 2014 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ě.