Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
EnableAcisAudit
Syntax
C++
bool DisableAcisAudit;
Type
bool
Initial value
true
Read-Only
No
Saved In
Registry
Versions
N/A

 

The EnableAcisAudit variable allows you to turn on additional checks of ACIS objects when ACIS data are read or written. This variable affects to Audit. If EnableAcisAudit is set to true, additional checks of ACIS objects will be done and in case of some of them failed - ACIS object may be discarded. 

 

Value
Description
true
Use additional checks of ACIS data to prevent errors while a saved dwg/dxf is loaded by AutoCad2018.
false
Audit of ACIS data will not be performed, ACIS data will be loaded and saved without additional checks so AutiCad2018 may report an error or show the recovery dialog

 

Access Methods
OdDbDatabase::getSysVar()
OdDbDatabase::setSysVar()
 
OdDbHostAppServices::getEnableAcisAudit()
OdDbHostAppServices::setEnableAcisAudit()

 

For example, to get the value:

OdResBufPtr pRb = pDb->getSysVar(L"EnableAcisAudit"); bool bEnabled = pRb->getBool(); odPrintConsoleString(L"nEnableAcisAudit is %s", ((bDisabled) ? "ON" : "OFF")); // or // bool bEnabled = pDb->appServices()->getEnableAcisAudit(); odPrintConsoleString(L"nEnableAcisAudit = %s", ((bEnabled) ? "ON" : "OFF"));

For example, to set the value:

OdResBufPtr pRb = OdResBuf::newRb(OdResBuf::kRtBool, true); pDb->setSysVar(L"EnableAcisAudit", pRb); // or // pDb->appServices()->setEnableAcisAudit(true);

 

File: SysVarDefs.h 

Module: API Reference 

Copyright © 2002-2022. Open Design Alliance All rights reserved.