CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 01-07-2003, 05:58 PM
aris63 aris63 is offline
Registered User
 
Join Date: Jan 2003
Posts: 16
The Common lisp support traditional chinese language?

The dialog generator. I can,t use this

(sd-defdialog 'my_special_part_attr
:dialog-title "Part Attr"
:start-variable 'object
:variables
'(
(OBJECT
:value-type :part-assembly
:modifies :contents
:title "Part/Assy"
:prompt-text "Select a part or assembly."
:after-input
(progn
(setq material (bomattr-get-material object))
(setq partno (bomattr-get-partno object))
)
)

(MATERIAL
:range ("SECC 0.8t" "SECC 1.0t" "SECC 1.2t")
:title "Material"
:prompt-text "Enter material info."
)
.
.
.
)
:ok-action

If I use the range " " <--- Chinese language

The program running appear error message

why?
Reply With Quote
  #2  
Old 01-07-2003, 10:00 PM
Markus Markus is offline
Registered User
 
Join Date: Oct 2002
Location: Sindelfingen, Germany
Posts: 88
What error message do you see?
Something like "xyz is not of type LISP::sequence"?

Markus
Reply With Quote
  #3  
Old 01-07-2003, 10:55 PM
aris63 aris63 is offline
Registered User
 
Join Date: Jan 2003
Posts: 16
yes. Something like "xyz is not of type LISP::sequence"?
Reply With Quote
  #4  
Old 01-08-2003, 07:37 AM
Markus Markus is offline
Registered User
 
Join Date: Oct 2002
Location: Sindelfingen, Germany
Posts: 88
Smile

I checked with the expert and yes, there was a defect which will be fixed in OSDM 12.0.
You can use the following workaround though:

Code:
...
(MATERIAL
  :range ("")
  :initial-value (first (sd-set-range 'MATERIAL '("Chinese String 1" "Chinese String 2" "..."))))
Hope this helps.


Markus
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 05:52 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.