I would like to create a library by skill.
So i use dbCreateLib.
But i can not put any cells inside, because this lib does not refer to
my tech file !
So, i would like to know, by skill, how to create a library which can
refer to my technology file ?
could someone helps me ?
Thanks and regards,
b.
KR,
Martin Heller
not speaking for ISIT
bed...@gmail.com schrieb:
1. Try this piece of skill (put it in your own script.il):
(defun rkCreateLib (libName libPath techFile)
let( (libId)
(ddCreateLib libName libPath) ; Create the library
(setq libId (ddGetObj libName)); Get the Lib ID
(techBindTechFile libId techFile) ; Attach to the tech file to the
lib
); let
); rkCreateLib
2. then load it into your CIW session :
(load "yourPath/script.il")
3. Then give it a try ...
(rkCreateLib "myLib" "/tmp/cds/myLib" "myAsciiTechFile")
Cheers,
Riad.
thanks a lot for your answers ^^
It works now.
thanks and regards,
b.
Have you figured out how to avoid this?
-jim
Y're right, these comments in the cds.lib can make this file
unreadble ...
These comments are added even when the Lib is deleted from the lib
manager.
I think the unix shell env variable DD_DELETE_DEFINE can solve this
problem.
If this variable set to YES, then the library entry in the cds.lib is
removed altogether instead being #ed.
I haven't use this feature for a while and I'm wondering if there is a
better mechanism or any new skill function in IC6.X especially.
What do you think ?
I'm sure Andrew has something for this ;-)
Riad.
PS : Did you manage to find any Berbere restaurant down there in
Munich ? I haven't tried anyone since our last time in Grenoble !
Chances are very weak here in Scotland ;-)
'fraid not. Sourcelink Solution 11117054 covers what Riad suggests, and it's
really the best solution for now. It's the same in IC6.X as far as I know.
Andrew.