The DataCAD Developer Network (DDN) is an online resource for information and support for DCAL® (DataCAD Applications Language) developers as well as anyone interested in creating fonts, toolbars, hatch patterns, or linetypes for use in DataCAD.
#30717 by ERT
Thu Dec 06, 2007 7:44 am
1.
modegroup not exist in DataCAD12. This variable = 0.

2.
These functions' syntax is not correct. In DC12 not changed.
in DC11:
wrong: 'gridcalc' good:'gridCalc'

in DC12:
wrong: 'pntinpoly' good:'pnt_in_poly'
wrong: 'symcreate' good:'sym_create'
wrong: 'symread' good:'sym_read'
wrong: 'wnwdin' good:'windowin'

3.
Is these functions usable in DC12 or not like DC11?
'atan2'
'cart_cylind'
and
'disfromseg'
'disfromlin'

4.
What is the syntax these functions:

DC11 and DC12:
callBezbsp
callDimAng
callDimDia
callDimLin
callDimRad
callDimXplode
callgetlayer1
disfrompolyvert
drawline2
getlinecolor
setlinecolor
sym_next

DC12:
Cwrtmsg
GetLoadedLines
GetLoadedMaterials
GetLoadedWinLines
GetPaletteColorName
plvoid_add
plvoid_del
plvoid_delall
plvoid_get
plvoid_init
plvoid_update
Str2ParserAng
Str2ParserDis
Str2ParserInteger
Str2ParserReal

plvoid may be the polyline void?

ERT
#76615 by dhs
Fri Jul 05, 2019 5:44 pm
Just noticed that the PntInPoly address changed in UInterfaces.pas between v21.00.00 and v21.00.01 (in 21.00.00 it was GetProcAddress(dllhandle, 'pntinpoly'), in 21.00.01 it is GetProcAddress(dllhandle, 'pnt_in_poly').

I can't see it documented anywhere, but I'm assuming that this was to fix one of the incorrect definitions reported in this post (and the crashes that I reported with this procedure a couple of years ago) ?

Who is online

Users browsing this forum: No registered users and 11 guests

About DataCAD Forum

The DataCAD Forum is a FREE online community we provide to enhance your experience with DataCAD.

We hope you'll visit often to get answers, share ideas, and interact with other DataCAD users around the world.

DataCAD

Software for Architects Since 1984