• 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 Scripting - Skill
  3. Datum Dimension by skill

Stats

  • Replies 1
  • Subscribers 18
  • Views 5579
  • Members are here 0
More Content

Datum Dimension by skill

vimaldevlpr
vimaldevlpr over 3 years ago

Hi

Is any way to do datum dimension measuring and placing in corner of brd file using cadence skill program if it possible please guide me to do.

        

  • Sign in to reply
  • Cancel
  • DavidJHutchins
    DavidJHutchins over 3 years ago

    You can't do this directly using skill since there are no direct skill commands for doing this & the dimensioning commands appear to block skill commands

    I was able to do this by having the skill code write a script file which it replays after generating it...

    Example script file segment for the design cds_routed.brd shown below:

    version 17.4
    setwindow pcb
    generaledit
    dimension edit
    prepopup 0 0
    pop dyn_option_select @:@Parameters
    setwindow form.draft_parms
    FORM draft_parms text
    FORM draft_parms align_text YES
    FORM draft_parms done
    setwindow pcb
    color192
    QtSignal CVDLayerContainer CVDVisibilityOff clicked
    QtSignal CVDLayerSplitter CVDLayersTree itemSelectionChanged "Drawing format"
    QtSignal CVDLayerTable CVDLayerTableDelegate clickedBox "Drawing_Origin" Drawing 1
    QtSignal CVDLayerSplitter CVDLayerTable dataChanged 1 0
    QtSignal CVDLayerSplitter CVDLayerTable selectionChanged
    QtSignal ColorVisibilityDialog CVDOkButton clicked
    setwindow pcb
    generaledit
    dimension edit
    setwindow pcb
    setwindow form.mini
    FORM mini datum_axis BOTH
    setwindow pcb
    prepopup 0 0
    pop dyn_option_select '@:@Datum dimension'
    pick 0 0
    pick 0 -650.000000
    pick 0 -1050.000000
    prepopup 0 0
    next
    pick -650.000000 0
    pick -1050.000000 0
    prepopup 0 0
    done
    setwindow pcb
    color192
    QtSignal CVDLayerContainer CVDVisibilityOff clicked
    QtSignal CVDLayerSplitter CVDLayersTree itemSelectionChanged Geometry
    QtSignal CVDLayerTable VertHeader clickedCheckBox Outline 1
    QtSignal CVDLayerSplitter CVDLayerTable dataChanged 17 0
    QtSignal CVDLayerTable VertHeader clickedCheckBox "Design_Outline" 1
    QtSignal CVDLayerSplitter CVDLayerTable dataChanged 8 0
    QtSignal ColorVisibilityDialog CVDOkButton clicked
    setwindow pcb
    color192
    QtSignal CVDLayerSplitter CVDLayersTree itemSelectionChanged Geometry
    QtSignal CVDLayerTable VertHeader clickedCheckBox Dimension 0
    QtSignal CVDLayerSplitter CVDLayerTable dataChanged 11 0
    QtSignal CVDLayerTable VertHeader clickedCheckBox Dimension 1
    QtSignal CVDLayerSplitter CVDLayerTable dataChanged 11 0
    QtSignal ColorVisibilityDialog CVDOkButton clicked
    setwindow pcb
    generaledit
    dimension edit
    prepopup 0 0
    pop dyn_option_select '@:@Datum dimension'
    setwindow form.find
    FORM find all_off
    FORM find other_segs YES
    setwindow pcb
    setwindow form.mini
    FORM mini datum_axis X
    setwindow pcb
    echo X
    echo -150.000000 -100.000000
    pick -150.000000 -100.000000
    pick -150.000000 -650.000000
    pick -150.000000 -1050.000000
    prepopup 0 0
    next
    echo -100.000000 150.000000
    pick -100.000000 150.000000
    pick -100.000000 -650.000000
    pick -100.000000 -1050.000000
    prepopup 0 0
    next
    echo 150.000000 150.000000
    pick 150.000000 150.000000
    pick 150.000000 -650.000000
    pick 150.000000 -1050.000000
    prepopup 0 0
    next

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
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