V5 Notes Feature - two scripts and 1st Step to Automation?

 From:  Michael Gibson
11509.6 In reply to 11509.1 
Hi Stefano,

re:
> 2. NOTES-CLIP-DIM
> Copies file/notes to the clipboard and
> creates a dim/text object.
> creates object name: "Notes"
> Result shown on the .3DM

Here is a script that will do this sequence. The text object that is created is hidden.

script: moi.copyTextToClipboard( moi.geometryDatabase.notes ); var factory = moi.command.createFactory( 'annotationtext' ); factory.setInput( 0, moi.vectorMath.createTopFrame() ); factory.setInput( 1, moi.geometryDatabase.notes ); factory.setInput( 2, 0 ); factory.update(); var objs = factory.getCreatedObjects(); objs.setProperty( 'hidden', true ); objs.setProperty( 'name', 'Notes' ); factory.commit();

- Michael