#16
|
|||
|
|||
Re: Configuration
Quote:
In other words, (first mylist) is the same as (nth 0 mylist)... This one often causes problems for people the first time they try it, so hopefully this will help!
__________________
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! |
#17
|
||||
|
||||
Re: Configuration
Hi,
haha, yes, difficult word... nth or car is better, indeed. But actually, John answered my question in his example code: Code:
(display (getf (sd-inq-configuration-props obj) :name)) Regards, Jaap |
#18
|
||||
|
||||
Re: Configuration
Quote:
When you have a property list, meaning list of key-value-pairs like Code:
(list :key-x value-x :key-z value-z :key-y value-y ..... ) Otherwise you would not use the advantage to of the props list. E.g. with (nth .. ) (eighth...) or whatever you would depend on the order within the list. But the sequence within a property list is and must and will not be guaranteed!
__________________
|
#19
|
||||
|
||||
Re: Configuration
Yes, I knew I should use a key value, but could'nt find an example...
Thnx, Jaap |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|