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

熱點內容
網路中常用的傳輸介質 瀏覽:518
文件如何使用 瀏覽:322
同步推密碼找回 瀏覽:865
樂高怎麼才能用電腦編程序 瀏覽:65
本機qq文件為什麼找不到 瀏覽:264
安卓qq空間免升級 瀏覽:490
linux如何刪除模塊驅動程序 瀏覽:193
at89c51c程序 瀏覽:329
怎麼創建word大綱文件 瀏覽:622
裊裊朗誦文件生成器 瀏覽:626
1054件文件是多少gb 瀏覽:371
高州禁養區內能養豬多少頭的文件 瀏覽:927
win8ico文件 瀏覽:949
仁和數控怎麼編程 瀏覽:381
項目文件夾圖片 瀏覽:87
怎麼在東芝電視安裝app 瀏覽:954
plc顯示數字怎麼編程 瀏覽:439
如何辨別假網站 瀏覽:711
寬頻用別人的賬號密碼 瀏覽:556
新app如何佔有市場 瀏覽:42

友情鏈接