What's good form for calling views within a module (template, etc)? I have about three views that will be used; Here's Daniel Wehner's answer: 

 $view = views_get_view(); 
 $view-&gt;set_display();
 $view-&gt;filter['foo']-&gt;value = 'bar'; 
 print $view-&gt;preview($display_id, $args);


I built this based off his code, which while works, could be improved if including views is going to be a regular activity throughout your project:

$view = views_get_view('nodequeue_3');
$view-&gt;set_display();

$content['raw_markup'] = array(
  '#type' =&gt; 'markup',
  '#markup' =&gt; $view-&gt;preview(),
);


I'm also thinking this might not be done that often, because if you can build a module, why use views?

The utility of views should not be overlooked, in combination with (or without) a custom module.

Thanks for the patience, this community is awesome!
I prever to use this small helper function:

function mymodule_embed_view($view_id, $display_id, $arguments) {
    $view = views_get_view($view_id);
    $view-&gt;set_display($display_id);
    $view-&gt;set_arguments($arguments);
    $view-&gt;pre_execute();
    $view-&gt;execute();
    return $view-&gt;render();
}