CADVANCE Version History
| CADVANCE V12 Release 2005 |
|
CADVANCE V12 Release Notes
March 24, 2005
This document describes what is new and improved for CADVANCE V12. This version of CADVANCE provides all of the features of CADVANCE V12 currently available. It is intended for experienced users and does not currently include the updated Manuals, Helps files or SDK. These release notes should provide all the information needed to get you started with this release.
What's New and Improved in CADVANCE V12.
CADVANCE V12 Release 2005 contains several improvements over CADVANCE 2002. The following is the outline of these new features:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
DWG/DXF file support:
AutoCad 2004/2005 files can now be read and written directly by CADVANCE V12. CADVANCE will decompress/decrypt the AutoCad file on reading and will then compress/encrypt the file during saving to AutoCad 2004/2005 format. CADVANCE now supports versions of AutoCad Drawings and DXF files from Release 2.5 through AutoCad 2004/2005.
File/Open of a DWG or DXF files now provide a full screen preview operation prior to the translation process. This option allows a quick view of the drawing/dxf file prior to translation. By pressing the Preview button in the file/open dialog box the drawing will load directly into the preview mode. Selecting load on the status bar will then load the drawing.
Font mapping is now available during importing of DWG/DXF files to provide better control over the selection of how fonts map between DWG/DXF files and CADVANCE vector fonts. The file fontmap.ini also includes an optional width adjustment factor to provide a closer match between the translated fonts.
Windows TrueType fonts are now supported in the single line text mode when translating from DWG/DXF files. The fonts will attempt to maintain the same names and there is no limit to the number of TrueType fonts that can exist on a drawing.
During translation of DWG/DXF files the linestyle scale factors are automatically adjusted to provide a better match to CADVANCE linestyles.
Exporting of AutoCad files now has new options to provide control over the creation of Xrefs drawings. One option provides for the Xrefs not to be re-created if they already exist. This is selected by a checkbox in the File/SaveAs Options dialog box. Another option has been added to allow the Reference Layer setup information to override the Reference Drawing’s Layer settings.
CADVANCE now supports splines and crosshatching in symbols translated from a DWG or DXF file.
Importing of MTEXT has been improved to handle word wrapping similar to AutoCad’s word wrap algorithm.
The DWG translation problem has been corrected, that was known to occur when saving a VWF to DWG format and then causing errors when trying to load the DWG with AutoCad and/or save changes in AutoCad, forcing the AutoCad user to "Recover" the DWG file. To take advantage of this correction, the CADVANCE V12 user should select the "R2004/R2005" option when saving the VWF as a DWG.
The function Utility / Translate DWG SYM now translates AutoCad R2004/R2005 blocks (in DWG format) to CADVANCE Symbols (SYM files).
The function Utility / Translate DWG SYM has been improved to prevent a crash when executing the function multiple times in the same drawing session.
Miscellaneous bug fixes have also been included in the updated translator.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
New Features:
A new feature has been added to export directly from CADVANCE into many popular image file formats. This is performed with the File/Export Dialog box which also includes a sizing and scaling dialog box. The sizing/scaling dialog box provides a recommended width/height and pixel resolution for the output device. The height/width can be specified in inches, centimeters or pixels. The view can be specified as Full Drawing or Current View (window). The aspect ratio can be maintained to automatically adjust to height/width changes or turned off to provide manual settings. The user can and should experiment with the different resolutions to determine the best resolution between screen display and output. These formats are available in both 2D and 3D. The file formats supported are:
JPEG - Joint Photographic Experts Group.
PNG – Portable Network Graphics.
BMP – Windows Bitmap.
PCX – ZSoft Corporation's PC Paintbrush format.
TIFF – Tagged Image File Format.
DWF – Design Web Format.
MouseWheel Zoom and Middle Button Pan, View Fit. The MouseWheel can now be used to zoom in or out of the drawing by spinning the wheel in the desired direction. MouseWheel speed is used to determine the incremental speed of the Zoom. Depressing and holding down the Middle Button will place the Mouse into the Dynamic Pan mode and allow mouse movement to pan around the drawing. Double clicking the Middle Button will perform a View Fit. These features are available in both 2D and 3D.
147=MACRO.BMP SampleMacro.cbx "Run a Sample Macro" "Utility"
The "Bar3=" line was appended with 147 and the BarCount=147 was updated. The purpose of this example is to show how to add simple macros to a toolbar.
The last directory used during File Save/As is now remembered.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
New Cdi
Three new functions added to the CADVANCE SDK: CdiObjTextureOsl, CdiLoadMenu, CdiLoadToolbar.
· Short CdiObjTextureOsl (osl, master_id, area_spacing, step_width, angle, origin, dense, oslret)
This function will texture all objects on the provided OSL and return an OSL with the texture objects.
Parameter Type/Description
Osl Long (void *) The OSL to use for this operation. If osl is NULL then the
CADVANCE OSL will be used.
master_id Long (CDI_SEGID) The master definition for the symbol to do the texturing with. If the master_id is 0 then the texturing will be done with the default 45HATCH lines.
area_spacing Short Used to define the overall placement of objects in the regions to be textured. (See CdiObjTexture in the CADVANCE SDK) for valid values.
step_width Long (WORLD) The amount of space between texture lines with the area being textured.
Angle Double The angle of the texturing within the objects. Valid range: 0 – 180 inclusive.
Origin CDI_DD_POINT A two element structure specifying x and y coordinates
for the origin point for texturing.
dense CDI_DD_POINT If CDI_SEMI_RANDOM is selected then a dense point must be defined. It is a two element structure specifying x and y
coordinates for the point where more texturing objects are created to give the illusion of curvature.
Oslret Long (void *) The OSL to return the Texture Id’s.
Return Value CDI_OK if no error, otherwise CDI_ERROR.
· Short CdiLoadMenu (file_name)
Load the specified Menu.
Parameter Type/Description
file_name String (char *) The menu file name, including pathing and extension.
Return Value CDI_OK if no error, otherwise CDI_ERROR.
· Short CdiLoadToolbar (file_name)
Load the specified Toolbar.
Parameter Type/Description
file_name String (char *) The toolbar file name, including pathing and extension.
Return Value CDI_OK if no error, otherwise CDI_ERROR.
The Cdi function CdiVertexMove() had been updated in CADVANCE versions 2000 and 2002 not to change the segid of the line being modified. The function has been corrected to also return the segid as the last argument as the CADVANCE version 99. The highlighting of the modified line has also been corrected.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
New Texture Symbols
New CADVANCE Texture Symbols are provided as follows:
New CADVANCE Texture Symbols are provided in the \Symbols subdirectory. The user may create new line textures and area textures, using the symbols provided. Before creating the new textures, the user may want to make backup copies of CAD.LTX and CAD.ATX which are in the CADVANCE root program directory. The following is the list of the new symbols provided in the \Symbols subdirectory, and the suggested names and properties of the textures. The line textures can be added in the Draw/Texture/Line dialog and then the area textures can be added in the Draw/Texture/Area dialog. Please see the Reference Manual for information on creating textures. If the user installed using the “Compact” or “Custom” installation during setup of CADVANCE V12, the user must manually create appropriate subdirectories. The designs for the textures and the units for which they were originally created can be viewed in the Adobe Acrobat file “Texture Patterns.pdf” located in the \Symbols subdirectory.
New Symbols included in the \Symbols subdirectory:
ANSI35.SYM
ANSI36.SYM
AR-CONC.SYM
AR-HBONE.SYM
AR-SAND.SYM
DASH.SYM
DOT.SYM
GRASS.SYM
Name Symbol Scale Mode Description
Dashdot dashdot.sym 1.00 even line-circle-line
Ansi35 ansi35.sym 1.00 even ansi35
Ansi36 ansi36.sym 1.00 even ansi36
Dot dot.sym 1.00 even dot
Dash dash.sym 1.00 even dash
Ar-sand ar-sand.sym 1.00 even ar-sand
Ar-conc ar-conc.sym 1.00 even ar-conc
Ar-hbone ar-hbone.sym 1.00 even ar-hbone
Grass grass.sym 1.00 even grass
Ansi35x2 ansi35.sym 2.00 even ansi35x2
Ansi36x2 ansi36.sym 2.00 even ansi36x2
Dotx2 dot.sym 2.00 even dotx2
Dashx2 dash.sym 2.00 even dashx2
Ar-sandx2 ar-sand.sym 2.00 even ar-sandx2
Ar-concx2 ar-conc.sym 2.00 even ar-concx2
Ar-hbonex2 ar-hbone.sym 2.00 even ar-hbonex2
Grassx2 grass.sym 2.00 even grassx2
New Area Textures: Suggested Setup
Name Line Texture Mode Distance Angle Description
Dashdot dashdot.sym even 40’8-5/16” 0.00 line-circle-line
Ansi35 ansi35.sym even 40’8-5/16” 0.00 ansi35
Ansi36 ansi36.sym even 40’8-5/16” 0.00 ansi36
Dot dot.sym even 40’8-5/16” 0.00 dot
Dash dash.sym even 40’8-5/16” 0.00 dash
Ar-sand ar-sand.sym even 40’8-5/16” 0.00 ar-sand
Ar-conc ar-conc.sym even 40’8-5/16” 0.00 ar-conc
Ar-hbone ar-hbone.sym even 32’6-5/8” 0.00 ar-hbone
Grass grass.sym even 16’3-5/16” 0.00 grass
Ansi35x2 ansi35.sym even 81’4-9/16” 0.00 ansi35x2
Ansi36x2 ansi36.sym even 81’4-9/16” 0.00 ansi36x2
Dotx2 dot.sym even 81’4-9/16” 0.00 dotx2
Dashx2 dash.sym even 81’4-9/16” 0.00 dashx2
Ar-sandx2 ar-sand.sym even 81’4-9/16” 0.00 ar-sandx2
Ar-concx2 ar-conc.sym even 81’4-9/16” 0.00 ar-concx2
Ar-hbonex2 ar-hbone.sym even 65’1-1/4” 0.00 ar-hbonex2
Grassx2 grass.sym even 32’6-5/8” 0.00 grassx2
What's
new in CADVANCE 2002 Service Pack 6
Items improved and/or fixed in the latest Service Pack 6.
There are two bug fixes in this Service Pack 6.
1) Nested Symbol bug fix.
When a multi level symbol is placed, a level 1 symbol, for example, is placed and edited in its properties such as colors and layer. An error
message, “Unable to find master definition”, is displayed and the symbols are
disappeared. SP6 fixes this bug.
2) DWG translator in paper space mode.
If there is a large solid filled object in dwg drawing, CADVANCE hangs.
SP6 fixes this bug and translates a large solid filled object to Area fill object.
3) Reference Setup. Reference Layer File. Layer # 255
Layer 255 always remains on (VS set) when loading any layer file in the Reference Setup. Layer 255 should always reflect the VS setting (On or Off)
in the Ref. Layer file.
SP6 fixes this bug.
4) Reference Setup. Specify Ref. Layer file before Reference drawing is loaded.
Due to un-initialized variable, CADVANCE occasionally crashes depending on the status of the particular memory which points to the
un-initialized variable.
SP6 forces the user to specify the Ref. drawing file followed by the Ref. Layer
file, i.e., without Ref. Drawing File, Ref. Layer File setting is not recognized.
Service Pack 6 Files
Cad1.dll Last Modified Date: October 28, 2003
Cad1.lib Last Modified Date: October 28, 2003
Please note before installing SP6 Update: If you are updating fromSP5, SP4 or
SP3, you do not need to delete Cadvance.TBF at time of SP6 Update. However, if
you are updating from SP2, SP1 or release version, you may need to delete Cadvance.TBF at time of SP6 Update.
Note: Service Pack 6 expects that SP4 have been installed (SP5 updates are included in the SP6 updates). For example, if you are updating from SP3, then
you must run SP4 followed by SP6 in sequence.
After SP6 installed, Help/About CADVANCE will show CADVANCE 2002 Build 11.51 at
the top of the message box.
What's new in CADVANCE 2002 Service Pack 5
Items
improved and/or fixed in the latest Service Pack 5.
This
is Associative Dimension Update. This
update fixes the Associative Dimension crash bug.
Example is a crash when inserting (opensegment) symbols such as doors
or windows when lines are dimensioned with Associative dimension.
Service Pack 5 Files
Cad1.dll
Last Modified Date:
Cad1.lib
Last Modified Date:
cv_assoc.dll
Last Modified Date:
cv_assoc.lib
Last Modified Date:
Please
note before installing SP5 Update: If
you are updating from SP4 or SP3, you do not need to delete Cadvance.TBF at
time of SP5 Update. However, if
you are updating from SP2, SP1 or release version, you may need to delete
Cadvance.TBF at time of SP5 Update.
What's
new in CADVANCE 2002 Service Pack 4
CADVANCE
Layer Setup definition is improved to inherit the layer definition of AutoCAD.
An example is the AutoCAD layer definition of symbol and text
attributes when the symbol and text attribute are on different layers.
For example, if the symbol resides on layer called ‘Symbols’, and
text attributes reside on layer called ‘Hidden’.
Also,
an internal working file can be created to improve functioning of Toolbar.
Service
Pack 4 Files
dwgxvwf.dll
Last Modified Date:
vwfxdwg.dll
Last Modified Date:
What's
new in CADVANCE 2002 Service Pack 3
Items
improved and/or fixed in the latest Service Pack 3.
1.
Fixed TrueType Text Width Display/Print in Reference Drawings.
2.
Improved Import of Arcs from AutoCAD DWG files.
Especially helpful in import of drawings of the Civil & Survey
types.
3.
Improved Import of some Cad text from AutoCAD DWG files.
4.
Fixed Import of some AutoCAD DWG files on Windows NT/2000/XP systems
where there are a very large amount of lines and/or polylines in the DWG file
which caused a crash when trying to open the DWG on Windows NT/2000/XP.
5.
Improved Export to DWG, in that VWF drawing exports to DWG file without
needing a File/Pack/Recalculate, where File/Pack/Recalculate was needed before
in some instances (for example if a symbol was newly made in the VWF drawing
with the command Symbol/Make, it would be necessary to do a
File/Pack/Recalculate).
The
translator files are:
adinit.dat
('Modified' date is
dwgxvwf.dll
('Modified' date is
vwfxdwg.dll
('Modified' date is
The
other update files are:
Cad1.dll
('Modified' date of
CADMSG.dll
('Modified' date is
MFCTools.dll
('Modified' date is
CADMSG.dll
is a display message dynamic link library file.
MFCTools.dll
is a dynamic link library file involved in control of display and update of
messages, tool bars, and status bar.
What's
new on the CADVANCE V2002 Service Pack 2 (SP2) CD-ROM
The
CADVANCE Build 11.20 CD contains all the improvements of SP2, plus the
following improvements:
Edit/Copy
works like v99.5 in that it won't display "Invalid Point" message
when an object has been copied and pasted to an offset of 0,0 (one user
requested this because his macro needs to do this)
Edit/Move
works like v99.5 in that it won't display "Invalid Point" message
when an object has been moved to an offset of 0,0 (again, one user requested
this because his macro needs to do this)
Reference
Setup displays Layer files properly when a new layer setup is loaded inside
Reference Setup
What’s
New in Service Pack 2
SP2
contains all changes, bug fixes and improvements of SP1, as well as the
following improvements:
Cdi
macro calls fixes. The following
Cdi calls have been fixed:
CdiEditAreaFill
CdiObjAreFill
CdiSetAssignAttritubte
CdiEditLineExplode
CdiEditLineCombine
File
name length is now up to 260 characters long.
Options/Path
dialog box can read/edit long paths from CADVANCE.INI file
or user input.
Note
for AETools users:
AETools
2002 is not updated for long path names yet:
AETools
2002 and CADVANCE 2000 share the buffer objects CDI_REFERENCE_DEFN and
CDI_REFERENCE_BUF which are used by AEPlan. The buffer objects have maximum 64
character path length.
DWG
to VWF translator layers bug fix.
Layers
from DWG was setting line style and weight to zero in the CADVANCE 2002
original release. It now sets blank like V2000.
Edit
Words menu update
Now
Edit Words menu is separated in to two menus, Single and Multiple.
This
change reflects to Edit/Word as Edit/Word Single and Edit/Word Multiple on the
Edit menu as well as mouse right button popup menu.
What’s
New for CADVANCE V2002 Service Pack 1
DWG/VWF
Translator
1.
Translate CADVANCE drawing database in layer order and leave out layers with
no data in dwg file. Only the
layers that contain data in CADVANCE are output to dwg file.
2.
Create all area filled objects before all other line data in dwg file so that
when the dwg file is displayed in other CAD software the date drawn over the
filled area (solid) will be displayed . To do this, “Areafill under line”
in the Option/Miscellaneous dialog box has to be checked on. Without checked,
CADVANCE will display in forward or backward
3.
Multiple layers with the same ‘underscore, underscore, layer number’
setting will end up on the same layer.
4.
The translator setup dialog seems to show up only once per CADVANCE session.
In addition to “File / Open … [another] dwg file”, the translator
setup dialog now shows up after the Reference Setup Dialog (if translation
detected) and for “Utility / Translate …“.
This is a bug fix.
5.
When translating DWG files to VWF files using File/Open, now cadvance creates
VWF reference files for the XREFs found inside the DWG files.
6. Fixed tessellation algorithm. We know when to reverse the point-order when handling polygons drawn in clockwise order. Prevented crashes when translating large linesets.
Other
Functions
1.
When redrawing the drawing database, draw all area filled objects before all
other line data. To do this, “Areafill under line” in the
Option/Miscellaneous dialog box has to be checked on. Without checked,
CADVANCE will display in forward or backward depending on the setting in the
Option/Miscellaneous dialog box.
2.
Fixed problem with clipboard, CADVANCE registry entries were not right in
WinXP. This fix is applied only to Windows XP system.
3.
Fixed Reference Setup column spacing so 3 digit layers are not split into two
lines.
4.
Fixed Undo/Redo where symbol editing and text attributes are involved.
There were cases like: “Symbol attributes are lost when a symbol is edited and then saved with the same name”, and “Symbol text attributes are lost when the user ‘explores’ the undo/redo memory and the text attributes assigned to symbol just go away and cannot be even be re-edited to have any text attributes.” Additionally, the undo/redo playback gets very confusing for the users with symbol editing. There was a need for a separation of undo/redo memory between symbol editing and general editing.
What's
New and Improved in CADVANCE 2002?
CADVANCE
2002 contains several improvements over CADVANCE 2000.
The following is the outline of these new features:
New
and Improved Features Include:
·
Reference file with bit map data – Reference
files can contain scanned image data such as your company logo.
Such image data has to be an embedded bit map.
·
Ortho Move – Move, Copy and Move Vertex functions
operate in accordance to the specified “line angle”.
Angle 0 means free hand.
·
Query Object – Show the type of OLE2 Auxiliary
object.
·
Euro symbol (€) added to all fonts except
Helvmed.FNT and Optima.FNT. By
using the number pad on the right of a
·
Isometric Line
- when used with Virtual Tablet and the symbols provided, isometric
piping or HVAC drawings can be created very easily.
·
New search - searches objects by many filters.
o
It finds objects within groups or symbols by layer,
kind and object types.
·
Edit Symbol/Group - edits objects within symbol or
group.
o
It allows you to edit objects within a symbol or
group, and reflects the changes to other instances of the same symbol in the
drawing.
·
Key map - jumps to a specified drawing.
o
When a key map symbol is created, the “linked”
drawing name has to be specified and the name is attached to the key map
symbol.
o
Double clicking the key map symbol will load a
drawing specified in the key map symbol.
·
Virtual Tablet
- acts like a digitizer tablet.
o
Originally sold as a stand-alone tool, it is now
included with CADVANCE 2002.
·
DWG/DXF 2D and 3D imports are improved to allow
import of both at the same time.
·
Improved Layer Setup Dialog Functionality - Layers
can be sorted by Name or Data, or layer rows can be moved around in any way
while in Layer Setup.
·
All "Utility / Query" queries (except
Query/Object) have been given dialogs that offer text that can be copied to
the clipboard. These text items are numeric type values.
·
Dimension setup has been divided into several
sections for easier understanding and operation, and allows easier settings
according to your needs.
·
Text attributes has been enhanced to manage
multiple entries with one dialog box rather than many dialog boxes popping up
per entry.
·
Multiple object selection by “window with a mouse
right button”. A pop-up menu
will be displayed for the editing.
·
Multi-line CAD Text editing.
o
When text strings are selected by “window with a
mouse right button”, a pop-up edit menu is displayed. Selecting ‘Edit
Word” will show the whole strings in a CAD text edit dialog box for the
editing.
·
Customizable Auto Snap
o
Object type(s) for auto snap is selectable.
·
DWG symbol to CADVANCE symbol translator
o
All DWG symbols in one directory are converted to
CADVANCE symbols.
·
Set default properties.
o
When an object is selected, the drawing properties
are set to the object. Thus the following operation allows the user to create
new objects with the same properties as the selected object.
·
Layer setup dialog box and File reference setup
dialog box are now re-sizable.
·
Utility/Query/Size shows a diameter for circle and
arc.
·
Draw/Fillet and Draw/Chamfer inherit properties of
the first object selected.
CADVANCE 2000 SP5 contains the following updates and the updates for service pack 4, 3, 2 and 1:
· Updated files for SP5: 3p_incl.h, Actbar2.ocx, Cad1.dll, Cadmsg.dll, Cv_asoc.dll, Dwgxvwf.dll, Mfcdlg.dll, Mfctools.dll, String.dll, Symtrans.exe and Vwfxdwg.dll.
· Add the Staged Selection:
Staged selection gives the user the ability to select one of many objects at a point that meet the selection criteria. This only applies to "POINT" selection when "Select object(s) for editing ..." is displayed in the status line. The user clicks on a point and the "best" object at that point is selected and highlighted. If the user clicks again without moving the cursor or using the shift or control key, the next "best" object at that point will be selected and highlighted. This can be continued until there are no more objects that meet the selection criteria at that point. This is implemented for 2D selection only.
· Add new entries to CADVANCE.INI file:
DefaultLayerColor=-1
DefaultLayerLineStyle=-1
DefaultLayerWeight=-1
These entries supply the values that will be used when switching from a layer that has these attributes assigned to one that does not. If the value is -1 then the current attribute value will not be changed. If no entries mentioned above in the CADVANCE.INI file then –1 is assumed.
· Improve flexibility of View Layers Setup and reference setup dialog boxes.
Fixed the following problems:
o Hidden line problem.
o Remember the order in Snap Hierarchy.
o Turn off flashing when closing the OSL being flashed.
o Clipping horizontal and vertical lines when texturing with symbols.
o Fix 15-character database keys.
CADVANCE 2000 SP4 contains the following updates and updates for service pack 3, 2 and 1:
· Updated files for SP4: 3p_incl.h, Actbar2.ocx, Cad1.dll, Cadmsg.dll, Cv_asoc.dll, Dwgxvwf.dll, Mfcdlg.dll, Mfctools.dll, String.dll, Symtrans.exe and Vwfxdwg.dll.
·
New Selection Flashing function added. Options/Selection Flashing is added to flash the selected entities.
User has to add the "Selection Flash" menu item to the CADVANCE.MNU file at the end of the OPTIONS menu right after "Paper Space" menu item as follows for both 2D and 3D:
MENUITEM "Pap&er Space", IDM_PAPER_SPACE
MENUITEM "S&election Flash", IDM_SELECTION_FLASH
An entry can be added to the CADVANCE.INI file system section to specify the flashing period:
SelectionFlash=n
where n is the time in milliseconds that the flashing will take. If the value of n is positive then the flashing is set to on otherwise the flashing is set to off.
· The shortcut keystroke for CADVANCE menu selection has been updated to support single keystroke for Alt + shortcut key, hitting Alt key then hitting shortcut key separately. The double keystroke, hitting both Alt key and shortcut key at the same time, is also supported if CADVANCE.TBF file exists in CADVANCE 2000 folder.
· Support TrueType line length with the TrueType Aux. Object.
· Added new Cdi function call:
CdiObjFlash Function
Syntax Short CdiObjFlash (flag, osl, time, color)
Starts or ends flashing of objects on the OSL
Parameter Type/Description
flag Short - CDI_ON To start the flashing of the contents of the OSL.
CDI_OFF To end flashing (all other arguments are ignored).
osl Long (VOID *) The OSL containing the objects to be flashed. If osl is
NULL(0), the CADVANCE OSL will be used.
time Short The time (in milliseconds) to flash, the minimum value is set to
500. If many items are to be flashed this number must be
increased to allow all objects to be redrawn.
color Short The color to be used for the flashed on objects. See table 8.12
for valid colors (1-255, CDI_OBJECT_COLOR,
CDI_HIGHLIGHT, CDI_OSLHIGHLIGHT)
Return Value CDI_OK if successful, otherwise CD_ERROR.
Comments The flag must be either CDI_ON or CDI_OFF. The calls should be make in
pairs of ON &OFF. There is no nesting. Changing the osl while flashing will
change the objects being flashed.
Example dim qtime as long
dim iret as integer
ov_osl = 0
qtime = 500
iret = CdiObjFlash (CDI_ON, cv_osl, qtime, CDI_OSLHIGHLIGHT)
CdiMenuEnable Function
Syntax Short CdiMenuEnable (idmv, sat, count)
Starts or ends flashing of objects on the OSL
Parameter Type/Description
idmv() Short (*) An array of menu IDM values that are to be enabled or disabled, this array may be any length but must be terminated with a value of -1.
state() Short (*) An array of state values for the corresponding IDM value. The state values are CDI_TRUE to enable the menu item or CDI_FALSE to disable it. The array should be the same size as the array of IDM values but does not need any entry corresponding to the -1 DIM value.
count Short The number of entries in the idmv array.
Return Value CDI-OK if successful, otherwise CDI_ERROR.
Comments The state values should be either CDI_TRUE or CDI_FALSE. If not they will be changed to CDI_FALSE.
Example dim iret as integer
dim idmv(5) as integer
dim istate(5) as integer
idmv(0) = IDM_DRAW_CHAMFER
idmv(1) = IDM_DRAW_CONSTRUCTION
idmv(2) = IDM_DRAW_2LINE
idmv(3) = -1
istate(0) = CDI_FALSE
istate(1) = CDI_FALSE
istate(2) = CDI_FALSE
iret = CdiMenuEnable (idmv(0), istate(0), 4)