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

熱點內容
vb編程後怎麼變成軟體 瀏覽:647
如何將文件轉到excel 瀏覽:639
數控編程安裝盤哪裡有賣 瀏覽:89
微信怎麼不弄圖片發字 瀏覽:244
lol韓服文件夾音頻文件在哪裡 瀏覽:915
excel快速批量提取文件名 瀏覽:276
中山性文件節視頻 瀏覽:830
微信武漢通充值平台 瀏覽:215
迅雷下載文件夾不見了 瀏覽:980
dnf85版本刺客匕首刷圖加點 瀏覽:1
佳捷app做什麼的 瀏覽:28
win10讀不出舊文件 瀏覽:784
岳陽網站推廣優化需要多少錢 瀏覽:741
網站開發和網頁設計有什麼區別 瀏覽:534
html輸出json對象 瀏覽:357
nsa工具包usb 瀏覽:940
愛藏app開店怎麼收費 瀏覽:296
word文檔分節 瀏覽:131
徐州編程貓在哪裡 瀏覽:734
英語編程培訓哪個好 瀏覽:412

友情鏈接