Sets whether attached objects (window/door markers, drawing titles, etc.) should be processed and returned during primitive decomposition.
GSErrCode ACAPI_Environment ( APIEnv_ChangeMarkerDrawingEnabledID, bool enabled );
- [in] True if attached objects should be processed.
- The function has completed with success.
In most cases you should query the value first with APIEnv_IsMarkerDrawingEnabledID, then change it for your code, then change it back to it’s original value, as the example shows.
bool markerDrawingEnabled = false; ACAPI_Environment (APIEnv_IsMarkerDrawingEnabledID, &markerDrawingEnabled, nullptr); ACAPI_Environment (APIEnv_ChangeMarkerDrawingEnabledID, reinterpret_cast<void*> (static_cast<Int32> (true)), nullptr); // ... your code ACAPI_Environment (APIEnv_ChangeMarkerDrawingEnabledID, reinterpret_cast<void*> (static_cast<Int32> (markerDrawingEnabled)), nullptr);
- Version: API 10.21 or later
- Header: APIdefs_Environment.h
ACAPI_Environment, APIEnv_IsMarkerDrawingEnabledID, API Functions