AREA forums upgrade
Read more about the planned upgrade of our forums
  • 1/3
You are here: Forum Home / Autodesk® MotionBuilder® / Python / Cutsom Layouts
IMPORTANT ANNOUNCEMENT ABOUT AREA FORUMS
  RSS 2.0 ATOM  

Cutsom Layouts
Rate this thread
 
53733
 
Permlink of this thread  
avatar
  • Location: Cambridge
  • Total Posts: 16
  • Joined: 08 December 2010 11:32 AM

Hey all,

I’m working on making my own tools in MB2009 and was wondering if anybody knew how to specify the x/y position of a unique tool?

def CreateTool2():    
    
CreateUniqueTool("Tools")
    
t.StartSizeX 989
    t
.StartSizeY 88
    t
.StartPosX 154
    t
.StartPosY 123

    PopulateLayout3
(t)
    
ShowTool(t)

CreateTool2()

Doing this, and specifying the StartPosX and StartPosY works in MB2011 but not MB2009. Is there another way?

Thanks :)



All views/opinions expressed here are my own and do not necessarily reflect those of my company or anyone else in the world

Replies: 0