• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. File browsing skill function in IC6.

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 143
  • Views 14052
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

File browsing skill function in IC6.

tyanata
tyanata over 14 years ago

 Can anyonegive example for file browsing fuction in IC6 environment.

 

I know about ddsFileBrowseCB() function, but it does not work properly in IC6. 

I know also about hiDisplayFileDialog(), but could not find some exapmle of its usage.

 

I want to have file browsing with filter *xls .

 

Best regards,

 

tyanata

 

 

  • Cancel
  • skillUser
    skillUser over 14 years ago

    Hi Tyanata,

    Is the documentation not helpful to you?  I scanned it quickly and it seemed to make sense to me, here's something I tried briefly:

    procedure(myFileLookyCB(dialogPtr action)
    ;; possibly use the hiFileDialogSelection function here
    )
    hiDisplayFileDialog(
    ?dialogName 'myFileLooky
    ?workingDir "/home/lawd/pc/Excel"
    ?filter "Spreadsheets (*.xls *.sxc *.csv)"
    ?callback "myFileLookyCB")

    Hope this helps!

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Also, what's wrong with the ddsFIleBrowseCB() function? I just tried it, and it works fine for me...

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • tyanata
    tyanata over 14 years ago

    Thanks for the help! 

    I thought that there is error in a function ddsFileBrowseCB(), because its usage was one of the root causes of IC5- IC6 diffence of the my script from the topic: http://www.cadence.com/community/forums/T/19220.aspx

     But after  more accurate search of the error root cause. It appeared that the error is different.

     

    Best regards,

    tyanata

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • tyanata
    tyanata over 14 years ago

     Now I think, I already know what is different in IC5 -IC6 ddsFileBrowseCB command behaviour. In IC5 it behave as blocking mode, in IC6 as non blocking dialog box.

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    OK, but you shouldn't really ever depend on forms being blocking - they should work based on the callback and whether it is blocking or not should then not impact you. Note, I didn't check if what you say is true (it could be - the implementation is very different in IC61 since it uses the QT file browser rather than a home grown one).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information