#1
|
|||
|
|||
File type
Hi
I write a new macro Code:
(FILE_NAME :value-type :filename :title "File" :prompt-text "Select file to open" :direction :input :after-input (progn .................. .................. ) ) Thanks in advance Ciao Michele |
#2
|
|||
|
|||
Re: File type
Quote:
Code:
(FILE_NAME :value-type :filename :title "File" :fileType :pkg :prompt-text "Select file to open" :direction :input :after-input (progn .................. .................. ) )
__________________
Andy Poulsen AI MAXTools: Dream. Design. Done. It's that easy! Add-ins bringing new functionality and speed to Creo Elements/Direct and CoCreate products. Now available for v17-v20+! See them in action at www.ai-maxtools.com and then try them for yourself -- FREE! |
#3
|
|||
|
|||
Re: File type
Thank you!
But not work.... Please try again... Thanks in advance Ciao Michele |
#4
|
|||
|
|||
Re: File type
OK, sorry -- I think it may be :package instead of :pkg. Does that work for you?
__________________
Andy Poulsen AI MAXTools: Dream. Design. Done. It's that easy! Add-ins bringing new functionality and speed to Creo Elements/Direct and CoCreate products. Now available for v17-v20+! See them in action at www.ai-maxtools.com and then try them for yourself -- FREE! |
#5
|
|||
|
|||
Re: File type
Yes!
ackage works for the .pkg.... but for the .bdl file I try :bundle, but it doesn't work.... Thanks in advance! Ciao Michele |
#6
|
|||
|
|||
Re: File type
Hi...
I found one file called pesd_def.env in this directory ..\CoCreate Modeling 17.0\personality\pesd_def.env I open this file and I find this... Code:
(define-file-type :MI "") (set_file_suffix :MI '("mi")) (define-file-type :PACKAGE "") (set_file_suffix :PACKAGE '("pkg")) (define-file-type :PCL "") (set_file_suffix :PCL '("pcl")) (define-file-type :RECORDER "") (set_file_suffix :RECORDER '("rec")) (define-file-type :SD-PART "") (set_file_suffix :SD-PART '("sdp")) (define-file-type :SD-PART-CONTENTS "") (set_file_suffix :SD-PART-CONTENTS '("sdpc")) (define-file-type :SD-ASSEMBLY "") (set_file_suffix :SD-ASSEMBLY '("sda")) I try to put Code:
(define-file-type :BUNDLE "") (set_file_suffix :BUNDLE '("bdl")) If write Code:
(set_file_suffix :SOLIDDESIGNER '("bdl")) I don't know... Ciao Michele |
#7
|
||||
|
||||
Re: File type
the two documented integration kit functions
PHP Code:
When you do something like this (only typed, not tested!) PHP Code:
__________________
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|