yucad3d

CadRPlanPutColor

Sets the colour of the road alignment (plan).

void CadRPlanPutColor ( YuHandle hRPlan, std::int32_t Mode, std::int32_t Color );

Parameters

hRPlan (YuHandle)
Handle to the road alignment, as returned by CadAddRPlan.
Mode (std::int32_t)
Mode selector — see the constants referenced in the description.
Color (std::int32_t)
Colour value (see the function description: ACI palette index 1-255, or a COLORREF 0x00BBGGRR).

Return Value

None.

See Also