add elements to an object
 1  …  22-41  42-61  62-66

Previous
Next
 From:  Luis (LGRIJALVA)
3830.62 In reply to 3830.60 
Confirmed working here on 2.5 and beta 3
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
3830.63 In reply to 3830.61 
Hi Luis - the default style list will come from a template file if you have one specified. Various other per-file settings like the view setup can be set in the same way, and also if you want some kind of default object layout (like some pattern with locked objects in it or whatever) you can also set that up in the template file too.

So to do that set up the styles list how you want the default to be, and then save this off into a 3DM file - put the 3DM file somewhere that you won't delete it later.

Then set that 3DM file as the template, the setting for that is under Options > General > Template file. Set that to the location of the 3DM file that you saved, and then when MoI initially starts up or when you use File > New or when you do "Add default styles", it will be the styles from that particular 3DM file that will be used.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Scooter (DORMANTVISION)
3830.64 In reply to 3830.8 
I'm having trouble getting the "AssignPresetName" script to work in the release version of MOI 3.0

I've tried all of the suggestion Michael presented.
Here is the error that I encounter.


I keep getting the error about line 58, which is

var env = wsh.Environment( 'PROCESS' );

I've changed line 61 to be the correct MOI 3.0 install path.
I even tried changing line 59, as I have a 64 bit machine which has a "Program Files x86" directory for 32 bit apps.
Is anyone else having problems with this, or perhaps have any suggestions?

Thanks

Scott
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
3830.65 In reply to 3830.64 
Hi Scott, re: AssignPresetName not working - it's probably due to security mechanisms in newer versions of Windows that prevent programs from accessing some system scripting components by default.

I have just now posted an updated version of the script that should now work ok with v3 and doesn't use that particular method anymore, you can get it from the original post here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=3830.8

Please give that _v3 one a try and see if it works ok for you now.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Scooter (DORMANTVISION)
3830.66 In reply to 3830.65 
Hi Michael. Yes that worked for me.
Thank you!

Scott
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages:  1  2-21  22-41  42-61  62-66