Import Variables; Invert Matrix - Adobe 26001360 - Illustrator CS - PC Manual

Scripting guide
Hide thumbs Also See for 26001360 - Illustrator CS - PC:
Table of Contents

Advertisement

268

import variables

Import a variable library from a file of saved variables.
Table 4.135 import variables — Parameters
Parameters
from [file] file
specification
[appending as
boolean]

invert matrix

Returns an inverted matrix.
Table 4.136 invert matrix — Parameters
Parameters
matrix
Notes
If a matrix is singular, it cannot be inverted. You can use the singular matrix command to test if
a matrix is singular.
Example 96.1
-- This script gets the inverse matrix of a 50% vertical scale matrix
-- When applied, the inverse matrix scales the object 200% vertically
tell application "Illustrator CS"
set transformMatrix to get scale matrix vertical scale 50.0
set transformMatrix to invert matrix transformMatrix
transform page item 1 of document 1 using transformMatrix
end tell
What it is
The file to import the
variables from, specified
as a string containing
the full file path or an
alias. When using a
string, precede the string
with the term
file
.
If true, the variables
should be appended;
defaults to true.
What it is
The matrix to invert
12 Aug 03
Objects supported
• variables
Objects supported
• matrix
AppleScript Reference
Returns
Returns
matrix

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents