Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4117

Set document sun north

$
0
0

@rheinason wrote:

Hi there! I’ve been racking my brain on this seemingly simple script. I wanted to create a script where I could control the north direction of the document sun by setting two points. I just can’t seem to figure out a way to control the document sun north? I can find the property with ScriptContext:

    import scriptcontext as sc

    sun = sc.doc.Lights.Sun

    print(sun.North)

But I’m unsure of how I’d set the sun north.

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4117

Trending Articles