• 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. Allegro X PCB Editor
  3. Help Needed for Quickplace using Skill/Script

Stats

  • Replies 8
  • Subscribers 160
  • Views 5662
  • Members are here 0
More Content

Help Needed for Quickplace using Skill/Script

vramanan
vramanan over 16 years ago

Hi Guys

 This is my intention

A script that will

1.Go and place all the symbols w.r.to its Schematic page number

2. Draw a dynamic rectangle around the placed symbols

3. Place a Text indicating the Page #

 I understand that I can do a script/skill  combination to do this

I can go around finding the exact numbers of pages by just giving a number and looping through it

 I see that the quickplace will create a log  which has xy for the placed symbols, I could use it to determine the Rectangle size

 

Any ideas/suggestions are welcome, I am willing to code and share it in the forum

 

If my above idea sounds viable, I need some pointers on reading a text file using skill

regards

Venkata

 

  • Cancel
  • Sign in to reply
Parents
  • vramanan
    vramanan over 16 years ago

     Hi if anone can help me on the following issue, it will be great

    This is what I want to do

    1. Open a text file (I know it)

    2. line read til you match a pattern- Having trouble

    3. once matched a pattern assign that line to a variable - (I know it)

     

    p = infile("quickplace.log")
     text = gets(s p)
    while( !rexMatchp("^Placed 0 of 0" text)    text = gets(text p))

    This seems not to work

     please help me

    regards

    Venkata

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • vramanan
    vramanan over 16 years ago

     Hi if anone can help me on the following issue, it will be great

    This is what I want to do

    1. Open a text file (I know it)

    2. line read til you match a pattern- Having trouble

    3. once matched a pattern assign that line to a variable - (I know it)

     

    p = infile("quickplace.log")
     text = gets(s p)
    while( !rexMatchp("^Placed 0 of 0" text)    text = gets(text p))

    This seems not to work

     please help me

    regards

    Venkata

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
Cadence Guidelines

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