GetRotation Object Query Command

GETROTATION Object Queries

Gets the rotation (slant and twist) of an object.

getrotation [DOCUMENT name | WINDOW name | OBJECTID number]

stem/a Gets the rotation values.

DOCUMENT/s The document name. Default=current.

WINDOW/s The window name. Default=current.

OBJECTID/i The object number. Default=current.

Results:

stem

slant/d The slant angle.

twist/d The twist angle.

Examples:

getrotation amount
say 'Slant: '||amount.slant
say 'Twist: '||amount.twist

 

GetRotation  Command Definition  url:PGScmd/getrotation
  created:2006-03-30 22:20:08   last updated:2006-03-30 22:20:08
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For GetRotation
Dan Kilroy wrote...2006-05-03 19:17:11

Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above.

Gets the {...} .

GetRotation (&rotation/.SLANT.TWIST [DOCUMENT document | WINDOW document-window | OBJECTID objectid])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For GetRotation