|
DXFShapeReaderX - beta - version 0.9.3.0 - user manual - |
DXF Shape Reader X is compatible with file format of Autocad Release 14.
PROPERTIES
AllowMixLayers: long; - read/write
DXFLinkingDistance: double; - read/write
HandleOpenShapes: long; - read/write
LayerCount: long; - read only
Version:
BSTR; - read only
METHODS
ShapeCount([in] BSTR LayerName, [out] long NumberOfShapes): long; - read only
GetLayerName([in]
long Index, [out] BSTR*
LayerName);
Load([in]
BSTR FileName);
GetShape([in]
BSTR LayerName, [in]
long Index, [out] long* Type, [out]
long* NumberOfVertices, [out] double* CenterX, [out]
double* CenterY, [out] double* Radius, [out]
long* NumberOfHoles);
GetShapeHole([in]
BSTR LayerName, [in]
long IndexShape, [in] long IndexHole, [out]
long* Type, [out] long* NumberOfVertices, [out]
double* CenterX, [out] double* CenterY, [out]
double* Radius);
GetShapeVertex([in] BSTR LayerName, [in] long IndexShape, [in]
long IndexVertex, [out] double* X, [out]
double* Y, [out] long* IsArc, [out]
double* CenterX, [out] double* CenterY, [out]
double* Radius, [out] long* Direction);
GetShapeHoleVertex([in] BSTR LayerName, [in] long IndexShape, [in]
long IndexHole, [in] long IndexVertex, [out]
double* X, [out] double* Y, [out]
long* IsArc, [out] double* CenterX, [out]
double* CenterY, [out] double* Radius, [out]
long* Direction);
GetShapeBoundingBox([in] BSTR
LayerName, [in] long IndexShape, [out]
double* TopX, [out] double* TopY, [out]
double* BottomX, [out] double* BottomY);
GetShapeHoleBoundingBox([in] BSTR
LayerName, [in] long IndexShape, [in]
long IndexHole, [out] double* TopX, [out]
double* TopY, [out] double* BottomX, [out]
double* BottomY);
GetLastError([out]
long* ErrorCode, [out] long* AdditionalInfo);
EVENTS
OnFinish(void);
OnLayer([out] BSTR*
Name);
OnSegment([out]
double* StartX, [out] double* StartY, [out]
double* StartZ, [out] double* EndX, [out]
double* EndY, [out] double* EndZ, [out]
BSTR* Layer);
OnArc([out]
double* CenterX, [out] double* CenterY, [out]
double* CenterZ, [out] double* Radius, [out]
double* StartAngle, [out] double* EndAngle, [out]
BSTR* Layer);
OnCircle([out]
double* CenterX, [out] double* CenterY, [out]
double* CenterZ, [out] double* Radius, [out]
BSTR* Layer);
OnPolyline([out]
long* NumberOfVertices, [out] long* Flags, [out]
BSTR* Layer);
OnVertex([out] double* X, [out] double* Y, [out] double* Z, [out] double* Bulge);
OnBlock([out] BSTR* Name, [out] double* BasePointX, [out] double* BasePointY, [out] double* BasePointZ);
OnEndBlock();
OnInsert([out]
BSTR* BlockName, [out] double*
InsertionPointX, [out] double*
InsertionPointY, [out] double*
InsertionPointZ, [out] double* ScaleX,
[out] double* ScaleY, [out]
double* ScaleZ, [out] double*
Angle, [out] BSTR* Layer);