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 Jose Luis Gomez

 Back
Reply:     1     2     3  

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.01 Transitional//EN">
<html>
<head>
 <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859 (See http://ISO-8859.ora-code.com)-1">
 <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
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 type="cite" cite="mid020301c3fbb8$fbc14f10$026326c4@(protected)">
 <meta http-equiv="Content-Type" content="text/html; ">
 <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>
</body>
</html>