VS:IsObjectFlipped: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
(No difference)
|
Latest revision as of 14:34, 12 August 2013
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Function IsObjectFlipped returns the flip orientation of the specified 3D object. The function returns TRUE if the object is currently flipped.
This function works for sweeps, extrudes, multiple extrudes, symbols, solids, layer references, and plug-in objects.
FUNCTION IsObjectFlipped(
h :HANDLE) : BOOLEAN;
def vs.IsObjectFlipped(h): return BOOLEAN
Parameters
h HANDLE Handle to object.
Remarks
Returns true if the object is currently flipped. Works for sweeps, extrudes, mextrudes, symbols, solids, layer refs, and plug-in objects
[sd 8/19/98]
Example
VectorScript
FUNCTION ObjFlippedInWall(objH, wallH :HANDLE) :BOOLEAN; BEGIN ObjFlippedInWall := ((Trunc(GetSymRot(objH)) <> Trunc(HAngle(wallH))) = IsObjectFlipped(objH)); END;
Python
Version
Availability: from VectorWorks8.0
See Also
VS Functions:
VS Functions:
[[VS:IsFlipped]]