Help to fix script

Next
 From:  BurrMan
7525.1 
Hi Michael,
Could you help me to fix this script? Its to import a 3dm file located in a folder named templates in the MoI install dir.....

script: /* import file */ moi.geometryDatabase.fileImport( \\templates\file.3dm() );
  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
7525.2 In reply to 7525.1 
Hi Burr, give this a try:

script: /* import file */ moi.geometryDatabase.fileImport( moi.filesystem.getProcessDir() + 'templates\\file.3dm' );

- 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:  BurrMan
7525.3 In reply to 7525.2 
Thanks Michael. Like a glove!
  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