CadProfileSave
Profiles persist as a small named marker file (yucad has no broad settings serialization yet — the named profile round-trips via a real file op).
std::int32_t CadProfileSave (
const char* szName
);
Parameters
- szName (const char*)
- NUL-terminated UTF-8 string.
Return Value
Nonzero (TRUE) on success, 0 (FALSE) on failure.
Remarks
Profile = the full set of global parameters serialized to "<name>.ycprofile". Engine-backed CAD_GL_* ids (1..52) plus the two COLORREF params that have no CAD_GL_ id (saved under 1000/1001). One "id value" pair per line.