iCAx开思网

标题: 【求助】一堆UG *.PRT如何批次轉*.X_T [打印本页]

作者: davinlee    时间: 2002-3-14 20:26
标题: 【求助】一堆UG *.PRT如何批次轉*.X_T
如題:有50個UG V18的PRT FILES,要轉成UG V16的X_T FILES,有方法嗎?
我現在都用笨方法:一個一個慢慢轉.
作者: idesign    时间: 2002-3-14 23:30
好像只有这样了。。。
  
要不就整体一个装配一起转,让人家去分开吧。。。哈哈。。。
作者: davinlee    时间: 2002-3-14 23:39
不知有沒有高人能利用UG GRIP弄個程序來達到呢?
作者: idesign    时间: 2002-3-14 23:42
估计PARASOLID有点麻烦吖。。。等等看吧。。。
作者: pepsi    时间: 2002-3-14 23:57
Idesign
看看這有沒有幫助
D:\UGS180\UGII>UG_INSPECT
This is the V18.0 version of UG_INSPECT.
  
ug_inspect is a utility that can be used to print information about
Unigraphics part files.  Include on the command line the list of
part files for which you want information:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ug_inspect <part-filenames...>
  
You can also use ug_inspect to extract Parasolid data from the part:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ug_inspect -extract <part-file> [<S-transmit-file>]
The Parasolid data are extracted from the part file and inserted into
the file indicated by <S-transmit-file>.  If no <S-transmit-file>
is included on the command line, then ug_inspect will form a transmit
file name based on the part name, with a different extension.
  
To get a complete list of the ug_inspect command line switches:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ug_inspect -help
  
D:\UGS180\UGII>UG_INSPECT -help
Usage: ug_inspect [<switches>] <filenames...>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;where <filenames> are Unigraphics part file names, and
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<switches>  are optional command line arguments which may be
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;one of the following:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-help      prints this message
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-rm        prints Record Manager partition
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-cmod      prints CMOD partition
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-ess       prints the Expresssion partition
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-occ       prints the Occurrences partition
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-path      prints Path partitions
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-ps        prints Parasolid partition(s)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-full      prints all partitions
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-trace     prints tracing info as it reads the part
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-cookies   prints cookie and object id information
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-refs      prints most recent referenced part information
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-all_refs  prints all referenced part information
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-scan      scans for known part corruptions
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-extract_all <part file> [<filename>]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-extract <id> <part file> [<filename>]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Extracts Parasolid transmit files - <id> is a
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;partition id number, <part file> is a part file name,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;and <filename>, if specified, is the filename without
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;extension to use for generating output file names.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If omitted this is generated from the part file name.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Use -extract_all for pre-v12 part files.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-release   Just print release information about the part.
:D
或許用這一個外部指令可以寫出一個batch檔來解決多檔轉換的問題!:D
作者: idesign    时间: 2002-3-15 00:26
呵呵,是不错的吖。。。。
  
可是我刚才试验一下,连单个的XT都转不出来!
  
格式如下:
ug_inspect -extract charger.prt charger.x_t
换了几种格式都不行!
作者: davinlee    时间: 2002-3-15 18:19
我也try一下,還是不行.有下面的message
D:\UGS180\UGII>ug_inspect -extract e:\mo\tt\0213\3d\0213-301.prt e:\0213-301.x_t
  
ug_inspect: Extract must be followed by a partition number and 1 or 2 filenames
  
ug_inspect is a utility that can be used to print information about
Unigraphics part files.  Include on the command line the list of
part files for which you want information:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ug_inspect <part-filenames...>
  
You can also use ug_inspect to extract Parasolid data from the part:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ug_inspect -extract <part-file> [<S-transmit-file>]
The Parasolid data are extracted from the part file and inserted into
the file indicated by <S-transmit-file>.  If no <S-transmit-file>
is included on the command line, then ug_inspect will form a transmit
file name based on the part name, with a different extension.
  
To get a complete list of the ug_inspect command line switches:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ug_inspect -help
  
ug_inspect: Extract must be followed by a partition number and 1 or 2 filenames
  
ug_inspect is a utility that can be used to print information about
Unigraphics part files.  Include on the command line the list of
part files for which you want information:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ug_inspect <part-filenames...>
  
You can also use ug_inspect to extract Parasolid data from the part:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ug_inspect -extract <part-file> [<S-transmit-file>]
The Parasolid data are extracted from the part file and inserted into
the file indicated by <S-transmit-file>.  If no <PS-transmit-file>
is included on the command line, then ug_inspect will form a transmit
file name based on the part name, with a different extension.
  
To get a complete list of the ug_inspect command line switches:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ug_inspect -help




欢迎光临 iCAx开思网 (https://www.icax.org/) Powered by Discuz! X3.3