Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.03 KB

File metadata and controls

49 lines (36 loc) · 1.03 KB

IsObjectFlipped

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

Name Type Description
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]

Examples

==== VectorScript ====

FUNCTION ObjFlippedInWall(objH, wallH :HANDLE) :BOOLEAN;
BEGIN
ObjFlippedInWall := ((Trunc(GetSymRot(objH)) <> Trunc(HAngle(wallH))) = IsObjectFlipped(objH)); 
END;

==== Python ====

See Also

VS Functions: IsFlipped

Version

Availability: from VectorWorks8.0

Category

  • Object Attributes