Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Softimage® / XSI SDK / How to close a floating netview via VBS?
  RSS 2.0 ATOM  

How to close a floating netview via VBS?
Rate this thread
 
30152
 
Permlink of this thread  
avatar
  • AutoMX
  • Posted: 26 January 2009 07:45 PM
  • Total Posts: 2
  • Joined: 27 January 2009 03:34 AM

I did a bit of searching and found:
http://softimage.wiki.avid.com/sdkdocs/View_State.htm
which is great except the example is only JScript. What would the VBS equivalent to this be? This is probably simple and easy but I’m just not finding extensive info/examples for VBS scripting and I’m certainly no expert in this stuff.

This is my simple netview opening code

set Layout Application.Desktop.ActiveLayout
set NV 
Layout.CreateView"NetView""NV" )

I’d appreciate any help. Thanks.



Replies: 0
avatar

here it is:

set layout Desktop.ActiveLayout
 
set v1 
layout.CreateView"Explorer""First" )
set v2 layout.CreateView"Explorer""Second" )
set v3 layout.CreateView"Explorer""Third" )
 
v1.State siClosed
v2
.State siMinimized
v3
.State siNormal


Replies: 0
avatar
  • AutoMX
  • Posted: 27 January 2009 03:45 PM

thanks, turns out I had just typed it in wrong when I tried last time.



Replies: 0
avatar

It happens all the time ;)



Replies: 0