Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - jplusip

Pages: 1 2 [3]
31
So I've decided to learn how to script for EA, and I'm just using VBScript within the tools scripting functionality (since for some reason I can't get Python to work; I think I need to download a win32 add-on or something).

Anyways, following qwerty's book I put in the code:
      root2 = Repository.Models.AddNew("A New Root", "")
      root2.Update()
      Repository.Models.Refresh()

and I get the error:

"Object doesn't support this property or method: 'root2', Line1"

I'm sure it's a novice error, but I'm not too familiar with VBScript, so if someone can point out to me what I'm doing wrong it would be greatly appreciated.

Pages: 1 2 [3]