Product : Engine, Version : 4.x, ArticleID : 41019091

HowTo : Upgrading from version 3.x to 4.x

Article41019091
TypeHowTo
ProductEngine
Version4.x
Date Added5/5/2003
Submitted by
Keywords

Subject

Upgrading from version 3.x to 4.x

Summary

Upgrading from version 3.x to 4.x

Solution

Upgrade to version 4

 

Name changes

Version 3.x Version 4.x
VDRAWLib.VDRAW4 VDProLib.VDPro
VDRAWLiB VDProLib
DRAW2DLib.VDRAW2DIM VDStdLib.VDStd
VDRAW2DLib VDStdLib
VDRAWILib.VDRAWI VDViewLib.VDView
VDRAWILib VDViewLib
VDRAWDOCUMENT vdDocument
VDSELECTIONSET vdSelection
VDSELECTIONSETLIST vdSelections
VDENTITYLIST vdEntities
VDBLOCKLIST vdBlocks
VDDIMSTYLELIST vdDimstyles
VDLAYERLIST vdLayers
VDLAYOUTLIST vdLayouts
VDTEXTSTYLELIST vdTextstyles
SelectionSetList property Selections property
Item property Attribute property

 

 

Not support in version 4

Version 3.x Similar in Version 4.x
VDDWGENTITYHEADER class
IVDDWGENTITYHEADER interface
ReadXtraEntityValue Event
Scale property (VDDIMSTYLE) ScaleFactor property
DrawEntity event EntityDraw event
GridSpace property GetGridSpace method. SetGridSpace method
SnapSpace property GetSnapSpace method. SetSnapSpace method
HighLight method (VDSELECTIONSET) HighLight property (VDSELECTION)
VdViewToPixel method (VDPRINT) you can use the vdRender object
PixelToVdView method (VDPRINT) you can use the vdRender object
PixelSize method (VDPRINT) you can use the vdRender object
AddItem (XProperties) AddXProperty method. Note there is also a AddItem
DwgRegAppName method

 

 

Changes in parameters of methods, events or calling changes

Version 3.x Change type
Draw event new parameters
DrawAfter event new parameters
DrawAfterEntity event new parameters
DrawBackground event new parameters
AddXProperty method new parameters
ActiveLayout property also propputref (needs set before changing it)
Type property (VDXProperty) also propput
OffsetPoints property (VDUtility) new parameters (PointsArray as vdxyzList)