element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
EAGLE User Support (English) Replace - Only when a BRD:package and no SCH:device
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 0 replies
  • Subscribers 187 subscribers
  • Views 195 views
  • Users 0 members are here
Related

Replace - Only when a BRD:package and no SCH:device

e14 Contributor
e14 Contributor over 13 years ago

REPLACE in v6.4 may be broken. v5.12 works similarly so this issue may have

been undetected for a while. Assuming it was ever intended to function as I

read it.

 

The situation I have is a logo as a package on the BRD and no device on the

SCH

Using a ULP/script I wish to replace the package (logo) with a different

sized one from the same library.

The HELP>REPLACE implies I can  REPLACE the package with a differently sized

one in the same library.

 

quote

"If only a board is being edited (without a schematic), or if elements in

the board are being replaced that have no matching part in the schematic,

the REPLACE command has two different modes that are chosen by the SET

command......... "

end quote

 

If I close the schematic The following syntax works and the package is

replaced automatically.

REPLACE element_name package_name

 

If I don't close the schematic I get the error

"Device not found: my-package_name"

It appears that REPLACE with two arguments is interpreted as

REPLACE part_name device_name

 

As the script or command line is run in the board I expect the syntax to be

interpreted as

REPLACE element_name package_name

 

If I type in the board editor command line CHANGE PACKAGE  (both board and

schematic open) and click the element the error message says

 

"The element 'my_element' has no corresponding part in the schematic"

"Use the REPLACE command instead"

 

So again I feel the functionality was intended to be in REPLACE

 

Ultimately I want to make the changes via a ULP and it would be much better

if I don't have to close and reopen the schematic.

Your input would be appreciated.

 

Thanks

Warren

 

--

Created/Viewed/Responded via the newsgroup at

news.cadsoft.de

 

 

 

  • Sign in to reply
  • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube