導航:首頁 > 文件類型 > catia裝配體下修改文件名

catia裝配體下修改文件名

發布時間:2023-06-06 15:06:41

1. 高分求catia宏命令文件批量重命名

Language="VBSCRIPT"
Dim dir_in as string
Dim dir_out as string

Dim Docs_Array(2000) as string
Dim Docs_Num as integer

'定義敏感的字元串,可擴充
'StrCount 與字元串大小相等
Dim StrCount as Integer
StrCount = 3
Dim StrSensitive(3) as string
StrSensitive(1) = "jiaozhengfangan"
'StrSensitive(2) = ""
'StrSensitive(3) = ""

'定義替換後的字元串
Dim StrResult(3) as string

StrResult(1) = ""
'StrResult(2) = ""
'StrResult(3) = ""

'定義裝配件是否有錯誤鏈接的標志值
Dim linkError As Integer
linkError=0

'定義三維標注中的旗標的url的內容和位置
Dim url As String
url=""

Sub CATMain()

CATIA.DisplayFileAlerts = False

On Error Resume Next

Dim prompt as string

if( CATIA.Documents.count > 0 ) then
prompt = "There are some documents in CATIA Session!!" & chr(13)+chr(10)
prompt = prompt & chr(13)+chr(10) & "Please Close All opened Documents First !!"
msgbox prompt
exit sub
end if

msgbox chr(13)+chr(10) & " 文件轉換前,請做好文件備份!!" & chr(13)+chr(10)

' ---------------------------------------------------------------------
dim FileSys as FileSystem
set FileSys = CATIA.FileSystem
Dim Exists As Boolean

閱讀全文

與catia裝配體下修改文件名相關的資料

熱點內容
魅族pro5自帶瀏覽器怎麼升級 瀏覽:342
為什麼用數據還是載入慢 瀏覽:171
監控下面有網路如何隔離 瀏覽:748
前台中jrequestjson 瀏覽:435
怎麼在word里粘貼xls文件 瀏覽:710
買火車票什麼網站 瀏覽:757
jsp的六大 瀏覽:216
圖文數據要如何導入資料庫 瀏覽:207
軟體數據刪了恢復怎麼弄 瀏覽:517
小米筆記本電腦共享文件 瀏覽:812
cad字體文件夾添加國標字體 瀏覽:938
電腦輸出pdf文件有什麼用 瀏覽:695
微信滿人 瀏覽:585
js點擊按鈕下載圖片 瀏覽:922
數據有效性哪裡設置的 瀏覽:171
orl刪除表的資料庫 瀏覽:353
cad文件0位元組可以修復么 瀏覽:675
瀏覽器下載的軟體在文件中怎麼找 瀏覽:906
怎麼把word圖片變小 瀏覽:278
cf的文件夾 瀏覽:556

友情鏈接