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
  • 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) Eagle 6.6.0 setgroup() ULP function
  • 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
  • State Verified Answer
  • Replies 2 replies
  • Subscribers 178 subscribers
  • Views 566 views
  • Users 0 members are here
  • ulp
  • setgroup
  • select
  • group
Related

Eagle 6.6.0 setgroup() ULP function

sirpal
sirpal over 11 years ago

Hello,

 

I have tried to run a 3rd party ULP to select components (i.e. parts) on schematic by command. Since it did not work, I tried debugging it backwards, and got to the point to realize that the setgroup() function does not seem to work on my installation(s). I actually stripped it down to the following ULP and tried it on 6.6.0 and 6.5.0, but didn't do anything.

It should select and add all parts into a group, but there is no group created at all.

 

if(schematic)

{

    sheet(S)

    {

            S.parts(part)

            {

                setgroup(part);

            }

    }

}

 

I attached the stripped ULP, and I call it from the schematic editor with "run select_all".

Is this only on my machine, or do others get the same result? Am I doing something wrong?

 

Thanks in advance,

Paul

Attachments:
select_all.ulp.zip
  • Sign in to reply
  • Cancel
Parents
  • autodeskguest
    0 autodeskguest over 11 years ago

    Review the attached file, which works

     

    The help for setgroup() says the object must be selectable.

     

    I suspect that a part is considered not to be selectable (it does not have

    xy coordinates and only exists once you place an instance of a "gate of the

    part". An instance is selectable and has xy coordinates.

     

    Hence the attached works.  

     

    HTH

    Warren

     

     

    --

    Web access to CadSoft support forums at www.eaglecentral.ca.  Where the CadSoft EAGLE community meets.

     

    Attachments:
    3326.select_all.ulp.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • sirpal
    0 sirpal over 11 years ago in reply to autodeskguest

    Thank you very much for the help, I couldn't find any documentation about this change, that the parts are not selectable any more, just their instances.

    With this little tuning the special select script also works!

     

    Thanks for the help again!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • sirpal
    0 sirpal over 11 years ago in reply to autodeskguest

    Thank you very much for the help, I couldn't find any documentation about this change, that the parts are not selectable any more, just their instances.

    With this little tuning the special select script also works!

     

    Thanks for the help again!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube