WiseImage Open Architecture
Why to open? Modern technology demands A growing amount of customers demands for custom commands The limited development resources The limited QA and testing resources WiseImage ready-for-plug-in architecture
What you can do Using WiseImage Automation you can: Create your own commands to manipulate vector objects and raster images inside WiseImage document Create your own custom entities to be stored and edited in WiseImage document Establish database connection for WiseImage resident objects
How to do. VBS - Visual Basic Script JS – Java Script Commands are scripts that can be written on:
WiseImage automation objects groups: Document resident objects Environment objects Service and utility objects Geometry and helper objects
Document resident groups: Entities (vector and raster) Layers collection Blocks collection Images collection
Point Line Arc Circle Polyline Block insertion Image insertion Entities types Rectangle Text Multiline text Hatch Spline Dimension
Services Services and utilities: View management Choosers Vector selection engine Command environment and control Line types and fill styles management Fonts
Helpers Geometry objects: Points Rectangles Polygons Coordinates transformer Misc objects: Hierarchical parameters storage
What you can do? Add/Remove/Modify entities Add/Remove/Modify layers Load/Process/Save/Unload raster images Create interactive commands Setup application / document parameters Launch any WiseScript command Use vector selection capabilities All script actions will be fully handled by application undo / redo.
Interaction with user Prompt - simple text input Choosers - input coordinate based data (the same way as in existing commands) Form-oriented dialog based interaction Any combination of above
Vector Selection Engine Entities sets as basement of selection DocumentSet of entities Document selection Vector selection engine Topology and modes
What is not available now Inspector usage Access to raster images contents Vector correction engine control Hybrid objects, raster area selection Limited access for trace engine
How to add custom command Write script and save to text file Add custom button Link it to script file Select desired function Add this button to any WiseImage toolbar
Discussion Question? Suggestions?