http://developer.vectorworks.net/index.php?title=VS:GetObjectVariableBoolean&feed=atom&action=history
VS:GetObjectVariableBoolean - Revision history
2024-03-28T08:42:34Z
Revision history for this page on the wiki
MediaWiki 1.41.0
http://developer.vectorworks.net/index.php?title=VS:GetObjectVariableBoolean&diff=3203&oldid=prev
Root: 1 revision
2013-08-12T14:32:34Z
<p>1 revision</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 14:32, 12 August 2013</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
Root
http://developer.vectorworks.net/index.php?title=VS:GetObjectVariableBoolean&diff=3202&oldid=prev
Root at 17:03, 28 April 2008
2008-04-28T17:03:16Z
<p></p>
<p><b>New page</b></p><div>{{LocationMain|category=LocationVS|specific=}}<br />
__TOC__<br />
<vwDoc><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<desc><br />
Returns the ON-OFF status of a VectorWorks object property. <br />
<br />
For specific object selector index values, see the [[VS:Function Reference Appendix#Appendix G - Object Selectors|Appendix]].<br />
</desc><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<def><br />
<funcDef lang="vs"><br />
FUNCTION GetObjectVariableBoolean(h:HANDLE; index:INTEGER) : BOOLEAN;<br />
</funcDef><br />
<funcDef lang="py"><br />
def vs.GetObjectVariableBoolean(h, index):<br />
return BOOLEAN<br />
</funcDef><br />
</def><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<params><br />
<lineList ident=1><br />
<line><br />
h<br />
HANDLE<br />
Handle to object.<br />
</line><br />
<line><br />
index<br />
INTEGER<br />
Object property index.<br />
</line><br />
</lineList><br />
</params><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<return><br />
Returns a BOOLEAN value indicating the ON-OFF status of the property.</return><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<remark><br />
<br />
<br />
<br />
From Julian: Appears to be unreliable for walls because it returns a different result depending on the view. Walls always report false for 2D, but only report true for 3D if in a 3D view.</remark><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<sample><br />
==== VectorScript ====<br />
<code lang="pas"><br />
castShadow:= GetObjectVariableBoolean(h,53);<br />
</code><br />
==== Python ====<br />
<code lang="py"><br />
castShadow = vs.GetObjectVariableBoolean(h,53)<br />
</code><br />
</sample><br />
<br />
-----------------------------------------------------------------------------------------------------------<br />
<version><br />
Availability: from VectorWorks9.0<br />
<br />
</version><br />
<br />
</vwDoc><br />
<br />
[[Category:VS Function Reference|GetObjectVariableBoolean]]<br />
[[Category:VS Function Reference:Object Info|GetObjectVariableBoolean]]</div>
Root