EAGLE Central Forums
Where the EAGLE community meets. Sponsored by Stratford Digital.

Home » EAGLE Related Forums, Blogs, ... (Read-Only) » Element 14 :: EAGLE Related Posts » Area/Room information (Element 14 :: EAGLE Related Posts)
Area/Room information [message #170078] Fri, 17 March 2017 14:20 Go to next message
Anonymous Coward
Hello, is it possible to draw a rectangle with a given name?And all parts, which are inside this rectangle, I need in ULP. Example:I draw HDMI and LAN connections with Eagle. The parts should be placed in "rooms". In the example "1.012 and 1.023. Now i need in ULP for each part the "room" name.EXT-1 is in room 1.012 (for example) So how can I draw areas/rectangles/... which I can check via ULP, which parts are inside? Have someone an idea? Thank you! 
EAGLE support forums at www.eaglecentral.ca :: Where the EAGLE community meets.

Original article at https://www.element14.com/community/message/218604?tstart=0#218604
Re: Area/Room information [message #170079 is a reply to message #170078] Fri, 17 March 2017 15:01 Go to previous messageGo to next message
Anonymous Coward
How about using modules? You could create a module for a room type. Then identical rooms could be instantiations of the same module, different rooms would be a different module. All rooms would have have all their instances prefixed with the module ID. You could then use this information in your ULP somehow to extract the information you need with the desired structure. Best Regards, Rachael
EAGLE support forums at www.eaglecentral.ca :: Where the EAGLE community meets.

Original article at https://www.element14.com/community/message/218669?tstart=0#218669
Re: Area/Room information [message #170080 is a reply to message #170078] Fri, 17 March 2017 15:06 Go to previous messageGo to next message
Anonymous Coward
Hello, yes, I thinking also about modules ... but it seems the module show no preview in the main Schematic?I need one big view with all components for overview. Or is it possible, that a module show the parts?
EAGLE support forums at www.eaglecentral.ca :: Where the EAGLE community meets.

Original article at https://www.element14.com/community/message/218605?tstart=0#218605
Re: Area/Room information [message #170081 is a reply to message #170078] Fri, 17 March 2017 15:11 Go to previous messageGo to next message
Anonymous Coward
You are right, it wont show the contents of each module.... Ok, how are your bounding boxes drawn? Nets with a long dash line style and a thick width? If so how about you give them net names to match the rooms then use the ULP to get the X and Y bounding extents of each room and then compare the X and Y location of each component in the room with those extents to work out which room they are in? Best Regards,Rachael
EAGLE support forums at www.eaglecentral.ca :: Where the EAGLE community meets.

Original article at https://www.element14.com/community/message/218672?tstart=0#218672
Re: Area/Room information [message #170083 is a reply to message #170078] Fri, 17 March 2017 16:12 Go to previous messageGo to next message
Anonymous Coward
Hello, yes, I guess this will be the best option. But can´t find the "Position" values in ULP. With UL_DEVICE I have area ... but not a position of the part
EAGLE support forums at www.eaglecentral.ca :: Where the EAGLE community meets.

Original article at https://www.element14.com/community/message/218699?tstart=0#218699
Re: Area/Room information [message #170084 is a reply to message #170078] Fri, 17 March 2017 16:17 Go to previous messageGo to next message
Anonymous Coward
Look at UL_INSTANCE. You should be able to loop through all the instances of parts to find all the x/y positions and assign them to rooms.
EAGLE support forums at www.eaglecentral.ca :: Where the EAGLE community meets.

Original article at https://www.element14.com/community/message/218680?tstart=0#218680
Re: Area/Room information [message #170091 is a reply to message #170078] Sat, 18 March 2017 07:11 Go to previous message
Anonymous Coward
Thanks, it works!
EAGLE support forums at www.eaglecentral.ca :: Where the EAGLE community meets.

Original article at https://www.element14.com/community/message/218816?tstart=0#218816
Previous Topic: mac os & eagle8.02: selecting component on dense area
Next Topic: Array in ULP
Goto Forum:
  


Current Time: Wed Jul 26 14:29:22 GMT 2017