EDAboard.com | EDAboard.eu | EDAboard.de | EDAboard.co.uk | RTV forum PL | NewsGroups PL

Getting the working path inside a SKILL script

elektroda.net NewsGroups Forum Index - Cadence - Getting the working path inside a SKILL script

Mohamed Abdel Baset
Guest

Tue Jun 01, 2010 7:23 pm   



Hi all,

I am asking if there is a SKILL command that can return the current
working path.
Your help is appreciated...

Thank you,
Mohamed

Andrew Beckett
Guest

Tue Jun 01, 2010 7:23 pm   



Mohamed Abdel Baset wrote, on 06/01/10 17:23:
Quote:
Hi all,

I am asking if there is a SKILL command that can return the current
working path.
Your help is appreciated...

Thank you,
Mohamed

Hi Mohamed,

getWorkingDir()

Regards,

Andrew.

lokesh
Guest

Mon Jun 14, 2010 2:07 pm   



On Jun 1, 10:17 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
Quote:
Mohamed Abdel Baset wrote, on 06/01/10 17:23:

Hi all,

I am asking if there is a SKILL command that can return the current
working path.
Your help is appreciated...

Thank you,
Mohamed

Hi Mohamed,

getWorkingDir()

Regards,

Andrew.

You can also try

pwd

Regards,
Lokesh

Andrew Beckett
Guest

Mon Jun 14, 2010 5:18 pm   



lokesh wrote, on 06/14/10 12:07:
Quote:
On Jun 1, 10:17 pm, Andrew Beckett<andr...@DcEaLdEeTnEcTe.HcIoSm
wrote:
Mohamed Abdel Baset wrote, on 06/01/10 17:23:

Hi all,

I am asking if there is a SKILL command that can return the current
working path.
Your help is appreciated...

Thank you,
Mohamed

Hi Mohamed,

getWorkingDir()

Regards,

Andrew.

You can also try

pwd

Regards,
Lokesh

Although strictly speaking, pwd() is private (it actually comes from the ADE
implementation, rather than beign core SKILL).

So I wouldn't use it in code. It was intended to be a quick handy command for
the CIW, rather than a function for use in code.

For example, it's not legal in a pcell (because it requires ADE to be present in
the executable evaluating the pcell).

Regards,

Andrew.

elektroda.net NewsGroups Forum Index - Cadence - Getting the working path inside a SKILL script

Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
RTV map EDAboard.com map News map EDAboard.eu map EDAboard.de map EDAboard.co.uk map Opony