Skrýt obsah

Using Serial Numbers to Automatically Name Files

You can create new files and automatically name them using serial numbers.

This example describes the use of a serial number to name new part files.

To use a serial number to automatically name a file:

  1. Create the following serial number:

    Name Type Partnumber.
    Type Select Serial number from string.
    Format string
    • Static text: Type P-.
    • Dynamic text : Select Counter Value > 00001.
    Next counter value Type 1000.

  2. Create a Templates folder in the vault.
  3. Add an empty .sldprt file to the folder and check it in.

    You will use this file as the template source file.

  4. Right-click Templates and click New Template.

    See Creating Templates.

  5. On the template wizard Template Name page, name the template Create new part.
  6. On the template wizard Files and Folders page, click Template Variables.
  7. In the Organize Template Variables dialog box, create the following template variable:

    Name Type partnumber.
    Type Select Serial number.
    Serial number Select Partnumber (created in step 1).

  8. Click New File .
  9. In the Select Template dialog box, navigate to the location of the .sldprt file, select it, and click Open.
  10. In the New File dialog box, select the file name (without the extension), click , and select the template variable partnumber that you created in step 7.

    The template variable, which uses the serial number created in step 1, replaces the file name. The new file name reads %partnumber%.sldprt.

  11. Complete the template wizard. On the template wizard Users and Groups page, assign the template to the user you are currently logged in as.
  12. To test the new part template, browse into the vault, right-click, and select New > Create new part.

    A new part file is created, using the serial number as the file name.



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:   Using Serial Numbers to Automatically Name Files
*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 2015 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ě.