목차 숨기기

Advanced Scripting Options Dialog Box

After creating a task, use the Advanced Scripting Options dialog box to modify the task add-in script, SOLIDWORKS version, or task type.

To display this dialog box:

  • When configuring a conversion task, on the Output File Details page, click Advanced Scripting Options.
  • When configuring a print task, on the Files page, click Advanced Scripting Options.
Enter script to execute in SOLIDWORKS Script of plug-in that executes task.

To modify the script:

  • Type in the text box.
  • Place the pointer in the text box and click Insert Macro.
Reset Discards changes you make to the script.
Insert Macro Inserts a macro at the cursor location in the script.

See Inserting Macros is SOLIDWORKS Task Add-in Scripts.

The following macros resolve to values in the user interface:

Macro Inserted in Script Resolves to Example
Source Folder Path <Path> Folder where the source file is located C:\MyVault\Drawings\
Vault Root Folder Path <VaultPath> Root folder of the vault C:\MyVault\
Task Instance GUID <TaskInstanceGuid> A globally unique identifier (GUID) that is used as the task ID.  
Source File Path <Filepath> Full path and file name of the source file. C:\MyVault\Drawings\ Part.sldprt

The following macros do not resolve to actual values. They remain as tokens in the script. You must add code that parses the values from the resolved value of other macros such as <Filepath>. Examples of how to do this are found in the default scripts for the Print and Convert tasks.

Macro Inserted in Script
Source File Name <Filename>
Source File Extension <Extension>
Configuration Name <Configuration>
SOLIDWORKS version to use SOLIDWORKS version used by task.

All tasks you create using the SOLIDWORKS Task Add-in must be run on a computer that has this version of SOLIDWORKS installed.

Task user interface type Determines configurable options for task.
You must save and then edit the task to see the configurable options, which are available as pages in the task's Properties dialog box.
Select one:
User Interface Type Configurable Options
General
  • Add-in
  • Execution Method
  • Menu Command
  • Script
  • Permissions
  • Success Notification
  • Error Notification
File Conversion General options plus:
  • Conversion Settings
  • File Card
  • Output File Details
Printing General Options plus:
  • Printer
  • Paper Size and Orientation
  • Margins
  • Files


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

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

* 필수 입력

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

인쇄 항목

인쇄할 콘텐츠 범위 선택:

x

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

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

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

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

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