Checks whether attached objects (window/door markers, drawing titles, etc.) are processed and returned during primitive decomposition.
GSErrCode ACAPI_Environment ( APIEnv_IsMarkerDrawingEnabledID, bool* enabled );
- [out] True if attached objects are processed.
- The function has completed with success.
Use this function to query the flag set by APIEnv_ChangeMarkerDrawingEnabledID. In most cases you should query the value first, 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