隱藏目錄

Mapping Model Custom Properties to Drawing File Cards

For a SolidWorks drawing file, you can map a variable to a custom property of the model the drawing is based on instead of a custom property of the drawing, so that the property value of the model is copied into the drawing's file card.

When the drawing is saved in SolidWorks, the linked properties are copied from the model and updated in the drawing's file card.

This example describes how to define a Description variable for .slddrw files to display the Description custom property of the model the drawing is based on.

The Enterprise PDM SolidWorks add-in must be enabled for this mapping to work.

To map the custom property of a model to the file card of the drawing based on the model:

  1. Edit (or create) the variable Description.
  2. Click New Attribute.
  3. Under Selected attribute, specify the attributes for the Description custom property of the drawing:
    1. For Block name, select CustomProperty.
    2. For Attribute name, type Description.
    3. Type the file extensions to use the variable mapping, separated by commas.

      This can include any SolidWorks extensions. For example: prt, sldasm. sldprt. slddrw. drw.

  4. Click New Attribute and specify the attributes for the Description custom property of the model:
    1. For Block name, type $PRPSHEET.

      This must be all uppercase.

    2. For Attribute name, type Description.
    3. Type the file extension slddrw.
  5. Click OK.
  6. In the Card Editor, open the SolidWorks Drawing file card.
  7. Add an edit box and select the Description variable as the Variable name.
  8. Save the card and close the Card Editor.
When you create a SolidWorks drawing from a part with the custom property Description, the value in the part's Description property is copied to the Description field on the drawing's file card.


提供對此主題的意見反應

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

* 必要的

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

列印主題

選擇要列印的內容範圍:

x

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

 不要再次顯示此訊息
x

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

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

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