Skip to main content
A. Patterson
Inspiring
April 8, 2008
Question

AI Filter Previews

  • April 8, 2008
  • 2 replies
  • 1252 views
Hello!

We're working on a filter that will contain an Avenza first -- a preview option. I was wondering what tools one would employ in such an endeavour? Off the top of my head, annotations seems a candidate, but I know it lacks a variety of abilities one would expect to need when generating even a simple preview (most notably lack of bezier support).

So what should we be using for this? Is there an 'official' approach we should be following?

Thanks!
This topic has been closed for replies.

2 replies

Rick E Johnson
Inspiring
April 14, 2018

Gee, Andrew, it's been 10 years since you asked! I've been experimenting with previews from modal dialogs with some success (key word "some"). This technique kind of works.

When parameters change that would affect a preview, including checking or unchecking the Preview checkbox:

  • Dismiss the dialog
  • Call the draw method
  • If necessary, call screen redraw
  • Show the dialog again

Surprisingly, I don't see any flicker when this happens. Weird things happen, though, like events that need to happen twice to operate once, and dialogs that just disappear and won't come back. I tried adding a timer that would redraw the art if a Preview boolean was set to true (via the Preview checkbox), but the modal dialog stopped the timer. I haven't lost hope, though. Adobe does it, so there has to be a way!

-- Rick

Participant
September 2, 2008
I am not aware about tools exactly. But I have read that Avenza also added several new filters to increase overall functionality. A filter to join points based on attribute values generates a line string, joining common points and making it ideal for work with Global Positioning System data. Users now can rotate and scale text objects and point symbols based on specific variables or attributes with the updating of the Edit Column filter.
http://varologic.com/blog/