Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

How to return an Array of 2 Arrays of 2 doubles? #13

Copy link
Copy link
Open
@gipnozik

Description

@gipnozik
Issue body actions

Code
app.activeDocument.pages(2).Reframe(In=2021225328, OpposingCorners= [[10, 11], [12, 13]])

returns an error (for the Russian version)
pywintypes.com_error: (-2147352567, 'Ошибка.', (30477, 'C:\\Program Files\\Adobe\\Adobe InDesign CC 2018\\InDesign.exe', 'Некорректное значение параметра "OpposingCorners" метода "Reframe". Ожидалось Array of 2 Arrays of 2 Doubles, получено (10).', None, 0, 0), None)

machine translation:
pywintypes.com_error: (-2147352567, 'Error.', (30477, 'C:\\Program Files\\Adobe\\Adobe InDesign CC 2018\\InDesign.exe ', 'Invalid value of the "OpposingCorners" parameter of the "Reframe" method. Expected Array of 2 Arrays of 2 Doubles, received (10).', None, 0, 0), None)

how to return an Array of 2 Arrays of 2 doubles?

Comment for the function:

def Reframe(self, In=defaultNamedNotOptArg, OpposingCorners=defaultNamedNotOptArg):
'Move the bounding box of the page item.
In: The bounding box to resize. Type: idCoordinateSpaces enumerator or Ordered array containing CoordinateSpace:idCoordinateSpaces enumerator, BoundsKind:idBoundingBoxLimits enumerator.
OpposingCorners: Opposing corners of new bounding box in the given coordinate space. Type: Array of 2 Arrays of 2 Doubles'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.