<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jan 27, 2014 at 1:24 PM, Atomic Perception <span dir="ltr"><<a href="mailto:atomicperception@gmail.com" target="_blank">atomicperception@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">[...] where the end user has not enabled an AddOn that I am including.</div></blockquote>
<br></div><div class="gmail_quote">I'm not sure if I've completely understood your question, but for the case you have a dependency on another addon, I suggest you just display a message for the user to take action. For instance:<br>
</div><div class="gmail_quote"><br><span style="font-family:courier new,monospace">try:<br>    bpy.ops.import_anim.amc(<br>        filepath=self.local_file,<br>        frame_skip=cml.frame_skip)<br>except AttributeError:<br>
    self.report({'ERROR'}, "To use this feature please "<br>        "enable the Acclaim ASF/AMC Importer addon.")<br></span><br></div><br></div><div class="gmail_extra">This snippet is from the cmu_mocap_lib addon.<br>
<br>Cheers,<br><br>Daniel<br></div><div class="gmail_extra"><br></div></div>