Scripts to change view question

 From:  Larry Fahnoe (FAHNOE)
11710.8 In reply to 11710.7 
Hi Frederick,

I've been following your recent threads on scripting with interest. Noting your desire to reciprocate, a comment I would make is that the community that Michael has created along with MoI tends to share many of the scripts that get written either as examples or as functioning tools for others to make use of. In my view, MoI is something of a labor of love, unlike any other software I'm familiar with; I share your view that Michael's generosity of spirit is remarkable. The scripts we write provide something of an opportunity for us to give a little back. I for one would be interested in seeing and potentially using your "assembly" oriented scripts. The community convention for publishing scripts is via a thread on the forum & then as the script gets revised, the script thread's initial post (thread.1) gets updated so that there is a single spot to find the most recent version of a given script.

Since your scripts are using version-specific features, you might consider including something akin to:

code:
if ( moi.majorVersionNumber < 5)
    moi.ui.alert( 'Requires MoI version 5 or later');
else
    doScript();

Thanks also for sharing the image of the printer assembly, looks quite intriguing. I use MoI mainly to design things that I make using manual (non-CNC) machine tools.

--Larry