imagemenu.txt

(2 KB) Pobierz
===============
USING IMAGEMENU
===============

Imagemenu is an SDS add-on that performs the functionality of the ***IMAGE section of an IntelliCAD menu file.


TO USE IMAGEMENU:

1. Save the files Imagemenu.dll and Image.dcl in a directory that is in an IntelliCAD search path (menu search path). (Type OPTIONS on the command line to view, add, or remove search paths.)

2. To load the Imagemenu add-on into the current IntelliCAD session, type the following on the command line:

   (xload "imagemenu")

   NOTE: You must load Imagemenu each time you start a new IntelliCAD session. If you want to load it automatically, add the command to your Icad.lsp file.

3. Use the "imagemenu" function to open the IMAGE window. In the menu file, replace

   $I=IMAGEMENUSECTION $I=*

   with

   (imagemenu "menufile" "starting image section")

where menufile is the name of the file and starting image section is the name of the section you want to define as the first section.

Imagemenu reads and performs the commands in the menu file, including jumps to new IMAGE sections.  

NOTE: Menu  should not contain blank empty lines between menu items.

imagemenu can work with ordinary slides and with slidelibraries.

when there are more than 16 slides, the slides are shown on separate pages and the "NEXT" and "PREVIOUS" buttons become enabled. It's then possible to browse between the pages with the next and previous buttons.

Example of syntax (assume an slb library with 4 slides, and two loose slides):

***IMAGE
**trial
[3D Objects]
[a_lib(slide01,black box)]^C^C_ai_box
[a_lib(slide02,pretty pyramide)]^C^C_ai_pyramid
[a_lib(slide03,wedge description)]^C^C_ai_wedge
[a_lib(slide04)]^C^C_ai_dome
[slide05]^C^C_ai_cylinder
[slide06, a cone]^C^C_ai_cone

load imagemenu.dll and call the menu with one of the two following commands:

(imagemenu "a_test.mnu" "trial") 	

(imagemenu "a_test.mnu" "image_3DObjects") 

The slides do not react well to changes of background color. 
If your slides are invisible, please edit the image.dcl file ,
and replace all occurrences of 'color = 0;' by 'color = 7;'
Zgłoś jeśli naruszono regulamin