Search found 9 matches

by fconfort
04 Jun 2007, 22:07
Forum: CAD DLL
Topic: Problems with CADImporterDll
Replies: 9
Views: 58189

Sergey, This "EXTRUSION" property looks like it could actually be a Plane_Normal for the Major_Axis_Plane. However, if you say that it is (0,0,1) for all Q1,Q3 Ellipses & (0,0,-1) for all Q2,Q4 Ellipses then perhaps it could be passed as the sign of the Ellipse "Ratio" parameter. If you make this ne...
by fconfort
31 May 2007, 23:47
Forum: CAD DLL
Topic: Problems with CADImporterDll
Replies: 9
Views: 58189

Sergey, I will send a copy of your latest VB demo for CADImporterDLL with modifications to handle ellipse in ArcAsCurves Mode. I will include an AutoCAD test file with 4 elliptical arches, one in each of the 4 quadrants. Each arch will have a unique color associating it with each of the 4 quandrants...
by fconfort
25 May 2007, 18:27
Forum: CAD DLL
Topic: Problems with CADImporterDll
Replies: 9
Views: 58189

Sergey, I porting my code to VB.Net 2005, the following observations where made: 1) In VB6.0 the GDI graphics sub system works with + angles measured in the counter clockwise direction. 2) In VB.Net the "GRAPHICS" sub system works with + angles measured in the clockwise direction. 3) Autocad's + ang...
by fconfort
30 Apr 2007, 22:10
Forum: CAD DLL
Topic: Problems with CADImporterDll
Replies: 9
Views: 58189

Problems with CADImporterDll

Sergy, I have waited for the new release of CADImporterDLL as you had suggested. It seems none of the reported problems were addressed. I have been busy learning VB.net 2005 and have not followed up. I have managed to convert my code to VB.net 2005 working with CADImporterDLL. The code is much more ...
by fconfort
08 Dec 2006, 19:48
Forum: CAD DLL
Topic: Hatches in CADImporterDll/VB6.0
Replies: 1
Views: 21183

Hatches in CADImporterDll/VB6.0

I tried using the DrawPoly function in the DemoVB program to handle Hatches. For the most part all goes well. There seems to be some occasional gliches with points being dropped resulting in MoveToEx being called when LineTo is required and visa versa. Another problem is that Hatches are not produce...
by fconfort
08 Dec 2006, 18:03
Forum: CAD DLL
Topic: CADImporterDLL in VB6.0
Replies: 7
Views: 42990

Sergey, Thanks for your quick response. What was causing me grief was the function prototype: Private Declare Function DXFProhibitCurvesAsPoly Lib "CADImporter.dll" (ByVal HANDLE As Long, ByVal Untis As Long) As Long I did not have the critical ByVal for parameter Untis. After correcting this proble...
by fconfort
06 Dec 2006, 21:30
Forum: CAD DLL
Topic: CADImporterDLL in VB6.0
Replies: 7
Views: 42990

Hello Sergey, I tried using DXFProhibitCurvesAsPoly(hObject,nCheckNumber)as you suggested, however I still get the same behavior regardless of the setting of nCheckNumber to 0 or 1. I cannot see a DXF_BEGIN_POLYLINE tag for a Polyline entity only DXF_POLYLINE tag is received with an array of points....
by fconfort
06 Dec 2006, 01:31
Forum: CAD DLL
Topic: CADImporterDLL in VB6.0
Replies: 7
Views: 42990

Sergey, I was investigating DXFGetSection, DXFGetChild and DXFGetData as a means to getting more detailed data from Light Weight Polylines. I noticed that DXFEnum simply returns a list of short lines approximating the polyline. Is there any way to retrieve node and bulge data or individual entity pr...
by fconfort
03 Dec 2006, 18:00
Forum: CAD DLL
Topic: CADImporterDLL in VB6.0
Replies: 7
Views: 42990

CADImporterDLL in VB6.0

Enumerating via hEntities=DXFGetSection(hDXF,CS_ENTITIES,dataEntity) only returns minimal data when iterating with DXFGetChild(hEntities, i , dataEntity) (only Tag is returned) even a subsequent call to DXFGetData does not fill out dataEntity See code fragment below Public Sub EnumEntities(hDXF As L...