隱藏目錄

Variable Mapping - AutoCAD Files

You can map variables to attributes found within defined blocks (such as title blocks) in AutoCAD files. Values specific to different layouts appear as separate layout tabs in the file data cards.

Mapping to a Drawing Title Block provides an example of AutoCAD variable mappings.

  • The AutoCAD application does not have to be installed or running to read and write AutoCAD attributes.
  • For drawings with different title block names that use the same property (for example Scale), update the variable with the additional block/attribute mappings. In the variable editor, you can use the wildcard character (*) for matching attribute names.
    You can only have one matching block/attribute found in the file.
  • Use the exact spelling when defining block/attribute names.
  • Remove block/attribute mappings that are not used in files.

Common Extensions

DWG, DXF files

Property Mappings

Block name Attribute name
The block names are custom defined. The attribute names are custom defined.

Mapping to a Drawing Title Block

To map to a drawing title block:

  1. In AutoCAD, identify the block and attribute name (tag) used in the drawing title block.
  2. In the Administration tool, create a variable named Drawing number.
  3. Click New Attribute.
  4. Under Selected attribute:
    1. For Block name, select Title_1.
    2. For Attribute name, type Draw_No.
    3. Type the AutoCAD file extensions that contain this block, separated by commas.

      For example, use the following file extensions: dwg, dxf.

  5. Click OK.
  6. In the Card Editor, open the AutoCAD file data card.
  7. Add an edit box and select the new Drawing number variable as the Variable name.
  8. Save the card and close the Card Editor.
When a user adds a drawing to the vault, the .dwg file data card displays the title block information found in the file. Multiple layouts contained in a drawing appear as tabs in the file data card, with values specific to each layout.


提供對此主題的意見反應

SOLIDWORKS 歡迎您提供有關於文件呈現方式、正確性、及完整性的意見反應。請使用下方的表格直接將您對此主題的意見與建議傳送給我們的文件團隊。文件團隊並無法回答關於技術支援的問題。按一下此處來獲得關於技術支援的資訊

* 必要的

 
*電子郵件:  
主旨:   說明主題的意見反應
頁面:   Variable Mapping - AutoCAD Files
*意見:  
*   我承認已閱讀且僅此接受隱私權政策,Dassault Systèmes 將遵循此政策之規定使用我的個人資料

列印主題

選擇要列印的內容範圍:

x

偵測到您使用的瀏覽器版本是舊於 Internet Explorer 7。要獲得最佳的顯示,建議您升級瀏覽器到 Internet Explorer 7 或更新的版本。

 不要再次顯示此訊息
x

Web 式說明內容版本:SOLIDWORKS PDM 2014 SP05

要從 SOLIDWORKS 中停用 Web 式的說明並改用本機說明,請按一下說明 > 使用 SOLIDWORKS Web 式說明

要報告在 Web 式說明介面及搜尋中遇到的問題,請聯絡您當地的技術支援代表。要針對個別說明主題提供意見反應,請使用個別主題頁面中的「提供對此主題的意見反應」連結。