yucad3d

CadAddPlineMark

Vecad CadAddPlineMark — the id-less variant: allocate the next free mark Id, store a default-styled mark along hEnt, and return the Id.

std::int32_t CadAddPlineMark ( YuHandle hDwg, YuHandle hEnt, double Start, double Len );

Parameters

hDwg (YuHandle)
Handle to the drawing, as returned by CadCreate.
hEnt (YuHandle)
Handle to the entity.
Start (double)
Start distance along the contour, in drawing units.
Len (double)
Length in drawing units.

Return Value

The handle of the newly created polyline, or 0 on failure.

Remarks

Returns 0 on a bad handle. (Probe on genuine Vecad.dll: returns a mark id, adds no entity.)

See Also