Hide Table of Contents

Button Properties

Use the Button properties pane to add a command button that launches an application, add-in, or Web page.

To display the properties pane, in the Card Editor, click Button (Controls toolbar), and click in the card to place the button.

Caption

The caption for the command button.

If you leave the edit box empty, the button will not have a caption.

Command type

The type of action the button command should perform:
  • Command String - Enter a command in the Command field to be run when the button is clicked. For example, the command could be the name of an executable file, such as notepad.exe. Click to add dynamic triggers to the command string. Enclose commands and triggers containing spaces with quote signs).
    • Browse - Opens the browse for file dialog box, where you can select a file to be used in the command field.
      The file and path must be available to all client systems intending to use the command button.
    • File Path (%1) - Adds the full file path to currently selected file.
    • File Vault Name (%2) - Adds the current vault name.
    • File Name (%3) - Adds the file name of currently selected file.
    • File Extension (%4) - Adds the file extension of currently selected file.
    • Folder Path (%5) - Adds the folder path of currently selected file.
  • Browse for File - Opens a browse for file dialog box for the user to select a file.
    • Dialog box caption - Title of the browse for file dialog box.
    • Destination variable - Select a data card variable to hold the full path to the file that is selected in the browse dialog box.
    • Only files in the vault - The user can select only vault files.
    • Path relative to vault root - The file path of the selected file is shown relative to the vault root.
    • Permit multiple selection - The user can select multiple files in the browse for file dialog box.
  • Browse for Folder - Opens a browse for folder dialog box for the user to select a folder.
    • Dialog box caption - Title of the browse dialog box.
    • Destination variable - Select a data card variable to hold the full path of the folder that is selected in the browse dialog box.
    • Only files in the vault - The user can select only vault folders.
    • Path relative to vault root - The file path of selected folder is shown relative to the vault root.
  • Run Add-in - Launches an installed Enterprise PDM add-in.
    • Name of add-in - Type the name of the add-in.
  • Web Page - Opens a Web page.
    • WWW-address - Type the URL of the Web page.


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   Button Properties
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:



x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: SOLIDWORKS PDM 2012 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.