Search found 114 matches

by davestewart
March 14th, 2005, 5:08 am
Forum: Scripts Discussion
Topic: Removing the pointOfInterest property
Replies: 1
Views: 6670

For those who are interested I've got round this problem by importing a new object from a libray. See the post Setting a light layer's Light Type : http://aczet.free.fr/phpBB2/viewtopic.p ... e935a2e2ff
by davestewart
March 13th, 2005, 11:52 am
Forum: Scripts Discussion
Topic: Setting a light layer's Light Type
Replies: 3
Views: 9052

I owe you that beer for sure! I've created a library of non-scriptable objects (Point, Ambient, Parallel, Free Spot, Free Camera) and am able to import, copyToComp, and remove the imported items at the end. Sweet stuff indeed! That's made my weekend, as it's killed 2 birds with one stone :) Cheers, ...
by davestewart
March 13th, 2005, 11:14 am
Forum: Scripts Discussion
Topic: Setting a light layer's Light Type
Replies: 3
Views: 9052

Thanks Paul, I'll look into that.
If it works, and for non-targeted Cameras as well, I owe you a beer.

Cheers!
Dave
by davestewart
March 11th, 2005, 9:38 am
Forum: Scripts Discussion
Topic: Setting a light layer's Light Type
Replies: 3
Views: 9052

Setting a light layer's Light Type

Hey Hey,
Is there any way to do this via scripting alone? The default spotlight is NOT what I want in some cases...

Thanks,
Dave
by davestewart
March 10th, 2005, 5:36 pm
Forum: Scripts Discussion
Topic: propertyValueType query
Replies: 5
Views: 11916

A fair point. I guess as with a lot of programming problems - you (or I in this case) get hung up over a particular specific of a problem, and you (I) focus on that. In this case, the fact that the method appeared to return numbers rather than strings made me work in a particular direction, and it w...
by davestewart
March 10th, 2005, 12:34 pm
Forum: Scripts Discussion
Topic: best program to write scripts in?
Replies: 13
Views: 25194

Crimson Editor is my weapon of choice: http://www.crimsoneditor.com/

It's got configurable syntax highlighting, brace matching, find/replace, macros, tabbed interface, a project window, and you can run the script by hitting your fave control keys.

Great stuff.
by davestewart
March 10th, 2005, 11:55 am
Forum: Scripts Discussion
Topic: Removing the pointOfInterest property
Replies: 1
Views: 6670

Removing the pointOfInterest property

Does anyone know if it's possible (I’ve failed at all attempts so far) to... 1 - Remove the pointOfInterest property, or 2 - Reset auto-orientation from spotlights or cameras, or 3 - Create a non-targeted camera or spot using layers.AddCamera / Add()? ...by scripting alone? I’ve drawn a blank so...
by davestewart
March 10th, 2005, 11:50 am
Forum: Scripts Discussion
Topic: propertyValueType query
Replies: 5
Views: 11916

Perfect - Thanks Dan. The following code... str="" arr=["NO_VALUE", "ThreeD_SPATIAL", "ThreeD", "TwoD_SPATIAL", "TwoD", "OneD", "COLOR", "CUSTOM_VALUE", "MARKER", "LAYER_INDEX", "MASK_I...
by davestewart
March 10th, 2005, 9:44 am
Forum: Scripts Discussion
Topic: propertyValueType query
Replies: 5
Views: 11916

propertyValueType query

If I do a straight query using propertyValueType on an object's property I get numbers: 1 : 4818 2 : 4819 3 : 4821 4 : 4820 5 : 4822 6 : 4812 7 : 4817 8 : 4823 9 : 4824 10 : 4814 11 : 4813 12 : 4816 13 : 4815 ...so unless I explicitly compare ie: prop.propertyValueType==PropertyValueType.TwoD_SPATIA...