導航:首頁 > 文件類型 > 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裝配體下修改文件名相關的資料

熱點內容
ps3文件分割視頻 瀏覽:280
微信圖片一鍵轉發軟體 瀏覽:331
如何判斷s200plc編程電纜 瀏覽:691
太原編程培訓班哪個好 瀏覽:171
樹葉吹奏教程 瀏覽:6
社交app帶來了哪些社會問題 瀏覽:394
如何安裝愛寶8800數據採集器 瀏覽:712
文件保存了怎麼找不到了 瀏覽:476
彩票網站怎麼辨真假 瀏覽:840
pr找不到該文件 瀏覽:963
java移除panel 瀏覽:354
jsp填充jsp 瀏覽:166
海關外貿大數據在哪裡查 瀏覽:381
思特奇java筆試題 瀏覽:121
葫蘆俠在手機中的文件名 瀏覽:813
plc編程應該怎麼收錢 瀏覽:584
c語言中源文件由什麼組成 瀏覽:890
linuxhttpdphp配置文件 瀏覽:607
拆單數據要怎麼保存 瀏覽:17
mac電腦怎樣壓縮文件到100m 瀏覽:645

友情鏈接