how to find the size of an object... 2004-04-26 - By Chris Marshall
Back Do you have to write a script for everything? dim mug, water, kettle, milk, teabag set list = GetValue( "SwitchOn" ) LogMessage "Kettle boiled!" MakeTea = Mug + teabag + (boiiled water) + milk pause (1 minute) RemoveBag LogMessage "Enjoy!"
-- --Original Message-- -- From: owner-xsi@(protected) [mailto:owner-xsi@(protected)]On Behalf Of kim aldis Sent: Monday, April 26, 2004 9:32 AM To: XSI@(protected) Subject: RE: how to find the size of an object...
this from the scripting docs. Turn this into a button and away you go.:-
dim xmin, ymin, zmin, xmax, ymax, zmax dim list set list = GetValue( "SelectionList" ) GetBBox list, FALSE, xmin, ymin, zmin, xmax, ymax, zmax LogMessage "Lower Bound: " & xmin & " / " & ymin & " / " & zmin LogMessage "Upper Bound: " & xmax & " / " & ymax & " / " & zmax
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On Behalf Of Chris Marshall Sent: 26 April 2004 09:25 To: XSI@(protected) Subject: RE: how to find the size of an object...
You could switch the ruler on, rather than counting lines. Personally I'd never call a unit anything other than a unit.
-- --Original Message-- -- From: owner-xsi@(protected) [mailto:owner-xsi@(protected)]On Behalf Of Steven Caron Sent: Sunday, April 25, 2004 9:47 PM To: XSI@(protected) Subject: how to find the size of an object...
I need to have my unit settings on "decimal inches" and i am not sure how to do this. I changed my unit settings under prefs to inches. so i hope thats right. NOW i need to know how big a model is that i made. is there a way to check the demensions of a model? or do i just count grid lines?
thanks
-Steven Caron -Student @ AiFL
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.2800.1276" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><SPAN class=098560009-26042004><FONT face=Arial color=#0000ff size=2>Do you have to write a script for everything?</FONT></SPAN></DIV> <DIV><SPAN class=098560009-26042004><FONT face=Arial color=#0000ff size=2>dim mug, water, kettle, milk, teabag</FONT></SPAN></DIV> <DIV><SPAN class=098560009-26042004><FONT face=Arial color=#0000ff size=2>set list = GetValue( "SwitchOn" )</FONT></SPAN></DIV> <DIV><SPAN class=098560009-26042004><FONT face=Arial color=#0000ff size=2>LogMessage "Kettle boiled!"</FONT></SPAN></DIV> <DIV><SPAN class=098560009-26042004><FONT face=Arial color=#0000ff size=2>MakeTea = Mug + teabag + (boiiled water) + milk</FONT></SPAN></DIV> <DIV><SPAN class=098560009-26042004><FONT face=Arial color=#0000ff size=2>pause (1 minute)</FONT></SPAN></DIV> <DIV><SPAN class=098560009-26042004><FONT face=Arial color=#0000ff size=2>RemoveBag</FONT></SPAN></DIV> <DIV><SPAN class=098560009-26042004><FONT face=Arial color=#0000ff size=2>LogMessage "Enjoy!"</FONT></SPAN></DIV> <DIV><SPAN class=098560009-26042004></SPAN> </DIV> <DIV><SPAN class=098560009-26042004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"> <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma size=2>-- --Original Message-- --<BR><B>From:</B> owner-xsi@(protected) [mailto:owner-xsi@(protected)]<B>On Behalf Of </B>kim aldis<BR><B>Sent:</B> Monday, April 26, 2004 9:32 AM<BR><B>To:</B> XSI@(protected)<BR><B>Subject:</B> RE: how to find the size of an object...<BR><BR></FONT></DIV> <DIV dir=ltr align=left><SPAN class=531153108-26042004><FONT face=Arial color=#008080 size=2>this from the scripting docs. Turn this into a button and away you go.:-</FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN class=531153108-26042004><FONT face=Arial color=#008080 size=2></FONT></SPAN> </DIV> <DIV dir=ltr align=left><SPAN class=531153108-26042004><PRE class =pPreformatted>dim xmin, ymin, zmin, xmax, ymax, zmax dim list set list = GetValue( "SelectionList" ) GetBBox list, FALSE, xmin, ymin, zmin, xmax, ymax, zmax LogMessage "Lower Bound: " & xmin & " / " & ymin & " / " & zmin LogMessage "Upper Bound: " & xmax & " / " & ymax & " / " & zmax<A name=wp469693> </A> </PRE><PRE class=pPreformatted> </PRE></SPAN></DIV><BR> <BLOCKQUOTE dir=ltr style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #008080 2px solid; MARGIN-RIGHT: 0px"> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left> <HR tabIndex=-1> <FONT face=Tahoma size=2><B>From:</B> owner-xsi@(protected) [mailto:owner-xsi@(protected)] <B>On Behalf Of </B>Chris Marshall<BR><B>Sent:</B> 26 April 2004 09:25<BR><B>To:</B> XSI@(protected)<BR><B>Subject:</B> RE: how to find the size of an object...<BR></FONT><BR></DIV> <DIV></DIV> <DIV><SPAN class=653392208-26042004><FONT face=Arial color=#0000ff size=2>You could switch the ruler on, rather than counting lines.</FONT></SPAN></DIV> <DIV><SPAN class=653392208-26042004><FONT face=Arial color=#0000ff size=2>Personally I'd never call a unit anything other than a unit.</FONT></SPAN></DIV> <DIV><SPAN class=653392208-26042004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"> <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma size=2>-- --Original Message-- --<BR><B>From:</B> owner-xsi@(protected) [mailto:owner-xsi@(protected)]<B>On Behalf Of </B>Steven Caron<BR><B>Sent:</B> Sunday, April 25, 2004 9:47 PM<BR><B>To:</B> XSI@(protected)<BR><B>Subject:</B> how to find the size of an object...<BR><BR></FONT></DIV> <DIV><FONT face=Arial size=2>I need to have my unit settings on "decimal inches" and i am not sure how to do this. I changed my unit settings under prefs to inches. so i hope thats right. NOW i need to know how big a model is that i made. is there a way to check the demensions of a model? or do i just count grid lines?</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>thanks</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>-Steven Caron</FONT></DIV> <DIV><FONT face=Arial size=2>-Student @ AiFL</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
|
|