Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
hippenstiel
Posted - 24 Aug 2015 : 13:03:09 Is there a way to sort the pour order by template area size?
In Set Pour Order Dialog, there are buttons for Auto Sort by Net or Layer, but unfortunately not by area.
Maybe it's possible by scripting? The collection of Templates seems to be in pour order. Templates inherit the area property from the CommonShape object. So everything is at hand, but there is no sorting method for the templates collection object and I don't see a way to manipulate this object manually.
2 L A T E S T R E P L I E S (Newest First)
hippenstiel
Posted - 25 Aug 2015 : 15:43:00 Many thanks for your reply!
Yes, scripting does only report the template size and not the poured copper size, which is fine, since I want to set the pour order according to template size.
The Document.Templates object is a collection of templates, which is actually in pour order. By going through the collection it's possible to get the pour order number.
Too bad, that there is no way to rearrange the order by scripting. It would be a really nice feature for designs with may templates.
steve
Posted - 24 Aug 2015 : 15:37:24 Hello.. There is not a way to set template pour order by template area. Scripting could report template size but a) that is highly unlikely to reflect poured size and b) cannot report the assigned pour order number.