Collect Boundaries

Each topic contains a file uploaded by the creator. Browse, upload, download and comment on new and existing files.

Collect Boundaries

Postby AnonUser » Mon Apr 19, 2010 9:22 am

It loops through the regions inside a sim and collect all the boundaries based on the specified criteria. The example here is to collect all the boundaries that start with the name "inlet". Potential usage of this macro is for a large case which has lots of boundary level settings. The macro can be easily modified to apply other criteria. The macro has detailed documentation, so it should be self explanatory.
Please login or register to access and download the files attached to this post.
User avatar
AnonUser
 
Posts: 8
Joined: Fri Apr 16, 2010 2:26 pm

Re: Collect Boundaries

Postby frkasper » Sat Nov 24, 2012 1:07 am

FYI... The following method available in Macro Utils can do the same, except using 1 line and REGEX search pattern.

Code: Select all
  1. public Collection<Boundary> getAllBoundaries(String regexPatt, boolean skipInterfaces) { }



Have fun. :D
Fabio Kasper
User avatar
frkasper
 
Posts: 153
Joined: Mon Dec 12, 2011 5:55 pm


Return to Upload / Download Files

Who is online

Users browsing this forum: No registered users and 1 guest

cron