Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
How to find out the selected layer in VBS

How to find out the selected layer in VBS

2004-02-26       - By Sandy Sutherland

 Back
Reply:     1     2     3  

Thanks Jose - I was being lazy, and checked with the scripting docs afterwards
- forgot this morning to mention that i was sorted - I also found out that if
you customise a toolbar, you can add the command to add selection to the
current layer (as in the command from the layers menu) to the toolbar as a
button anyway!!

Thanks again

Sandy

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
Sandy Sutherland  Digital Doodeller/Technical Director
The Refinery (Cape)  http://www.refinery.co.za
mailto:sandy@(protected)
(P) (+27 21) 480 3333  (F) (+27 21) 480 3101
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
 -- -- Original Message -- --
 From: Jose Luis Gomez
 To: XSI@(protected)
 Sent: Thursday, February 26, 2004 1:29 PM
 Subject: Re: How to find out the selected layer in VBS


 Hi Sandy

 If I've undestood you well, I think this can do the job...

 GetCurrentLayer oCurrLayer
 MoveToLayer oCurrLayer, Selection.GetAsText

 Cheers

 /Jose Gomez

 Sandy Sutherland wrote:

   How can I find out what layer is current - so that I can create a button to
add the selelected geometry to the current layer - is this possible?? VBS BTW!

   Thanks

   Sandy

   -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
   Sandy Sutherland  Digital Doodeller/Technical Director
   The Refinery (Cape)  http://www.refinery.co.za
   mailto:sandy@(protected)
   (P) (+27 21) 480 3333  (F) (+27 21) 480 3101
   -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Thanks Jose - I was being lazy, and checked with
the scripting docs afterwards - forgot this morning to mention that i was
sorted
- I also found out that if you customise a toolbar, you can add the command to
add selection to the current layer (as in the command from the layers menu) to
the toolbar as a button anyway!!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks again</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Sandy</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----<BR>Sandy
Sutherland&nbsp; Digital Doodeller/Technical Director<BR>The Refinery
(Cape)&nbsp; <A
href="http://www.refinery.co.za">http://www.refinery.co.za</A><BR><A
href="mailto:sandy@(protected)">mailto:sandy@(protected)</A><BR>(P) (+27
21) 480 3333&nbsp; (F) (+27 21) 480
3101<BR>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----</DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT:
#000000 2px solid; MARGIN-RIGHT: 0px">
 <DIV style="FONT: 10pt arial">-- -- Original Message -- -- </DIV>
 <DIV
 style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
 <A title=development@(protected) href="mailto:development@(protected)">Jose Luis
 Gomez</A> </DIV>
 <DIV style="FONT: 10pt arial"><B>To:</B> <A title=XSI@(protected)
 href="mailto:XSI@(protected)">XSI@(protected)</A> </DIV>
 <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, February 26, 2004 1:29
 PM</DIV>
 <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: How to find out the
selected
 layer in VBS</DIV>
 <DIV><BR></DIV>Hi Sandy<BR><BR>If I've undestood you well, I think this can
do
 the job...<BR><BR>GetCurrentLayer oCurrLayer<BR>MoveToLayer oCurrLayer,
 Selection.GetAsText<BR><BR>Cheers<BR><BR>/Jose Gomez<BR><BR>Sandy Sutherland
 wrote:<BR>
 <BLOCKQUOTE cite=mid020301c3fbb8$fbc14f10$026326c4@(protected) type="cite">
   <META content="MSHTML 6.00.2800.1276" name=GENERATOR>
   <STYLE></STYLE>

   <DIV><FONT face=Arial size=2>How can I find out what layer is current - so
   that I can create a button to add the selelected geometry to the current
   layer - is this possible?? VBS BTW!</FONT></DIV>
   <DIV>&nbsp;</DIV>
   <DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
   <DIV>&nbsp;</DIV>
   <DIV><FONT face=Arial size=2>Sandy</FONT></DIV>
   <DIV>&nbsp;</DIV>
   <DIV><FONT face=Arial
   size=2>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----<BR>Sandy
   Sutherland&nbsp; Digital Doodeller/Technical Director<BR>The Refinery
   (Cape)&nbsp; <A
   href="http://www.refinery.co.za">http://www.refinery.co.za</A><BR><A
   href="mailto:sandy@(protected)">mailto:sandy@(protected)</A><BR>(P)
   (+27 21) 480 3333&nbsp; (F) (+27 21) 480
   3101<BR>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----</FONT><
/DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>