批次圖塊替換含屬性複製及多圖層套用
Batch block replacement including attribute copying and multi-layer application
In AutoCAD, press or type NBLOCKREPLACE. The window will open as shown in the image below.
Click the "Select Block to Replace" button.
3.選取圖面想要替換的圖塊如PA 2V。
Select the block you want to replace, such as PA 2V.The window will display the following message. The screen shows that the old block's name is "1CB", its layer is "BLOCK", and based on the fixed attributes EQUIPMENT and SYSTEM, if values are present, it will filter out 39 identical blocks and generate a layer list for multi-layer selection.
5.接著選取指定取代之新圖塊,例如點選”從檔案”按鈕。
6.例如系統圖用之圖塊路徑如下:
If you want the new block to use some attribute values from the old block, you can click "Copy Old Values to New Values." The new values do not need to be entered manually.
Next, check the "Import" boxes in the table, such as EQUIPMENT and SYSTEM. The "Replace" boxes will turn from gray to red, meaning that only the red arrows are valid, and the other gray arrows will not import the attributes into the block.
If the new attribute is not the option you want to change, you can click to bring up the menu and select all existing attributes, such as "SYSTEM."
12.新數值也可以點選更改成想要的數值。
13. 若未選匯入,就按”替換圖塊”按紐,則會出現以下訊息。
14.當新屬性和新數值都確定後,再考慮是否有其他圖層也有相同圖塊名稱和同屬性,若有,則再多選圖塊圖層清單選取多個圖層,選取後會再過濾有多少圖塊數。
15.若無也可不選,不影響取代過程。但選取到無相關的圖層,會出現警語訊息如下:
If none are selected, this step is optional and will not affect the replacement process. However, selecting an unrelated layer will result in the following warning message:
16.此按鈕功能為清除所有產生資料的文字。
17.若依序剛剛要用1AA.DWG取代1CB,便按”替換圖塊”按鈕
18.若在選取完舊圖塊,未選新圖塊,或者未選取舊圖塊,都會出現以下錯誤訊息。
19.作業完成後,便可按離開。
留言
張貼留言