Functions | |
| FORMIT_CORE_EXPORT size_t | GetHistoryID () |
| FORMIT_CORE_EXPORT size_t | GetMemorySize (bool bCollapsedHistoryWithLiveObjsOnly) |
| Get the memory size (in bytes) the History of the main Model with all Object versions or collapsed history with only live Objects. | |
| FORMIT_CORE_EXPORT UnitType | GetUnitTypeCurrent () |
| Get the UnitType of the current Model. | |
| FORMIT_CORE_EXPORT bool | IsImperialUnitType (UnitType unitType) |
| Returns true if the given unit type is imperial. | |
| FORMIT_CORE_EXPORT double | ImperialLengthToCurrentUnitLength (double imperialValue) |
| Takes imperial value in feet and translates to the current unit system. | |
| FORMIT_CORE_EXPORT void | SetUnitTypeCurrent (UnitType type) |
| Set the UnitType of the current Model. | |
| FORMIT_CORE_EXPORT void | SetCurveAccuracyOrCountCurrent (double accuracyORcount) |
| Set the curve accuracy of the Model. | |
| FORMIT_CORE_EXPORT double | GetCurveAccuracyOrCountCurrent () |
| Get the curve accuracy of the Model. | |
| FORMIT_CORE_EXPORT void | SetSurfaceAccuracyOrCountCurrent (double accuracy) |
| Set the surface accuracy of the Model. | |
| FORMIT_CORE_EXPORT double | GetSurfaceAccuracyOrCountCurrent () |
| Get the surface accuracy of the Model. | |
| FORMIT_CORE_EXPORT ::string | GetGroupHistoryName (size_t nHistoryId) |
| Get the name for the given history. | |
| FORMIT_CORE_EXPORT void | SetGroupHistoryName (size_t nHistoryId, const 1::string &sHistoryName) |
| Set the name for the given history. | |
| FORMIT_CORE_EXPORT bool | IsModified () |
| IsModified returns true if the Model has been modified. | |
| FORMIT_CORE_EXPORT void | ResetModified () |
| ResetModified sets the Model to unmodified. | |
| FORMIT_CORE_EXPORT ::string | GetObjectName (size_t nHistoryID, size_t nObjectID) |
| Get the name for the given Object. | |
| FORMIT_CORE_EXPORT void | SetObjectName (size_t nHistoryID, size_t nObjectID, 1::string const &name) |
| Set the name for the given Object. | |
| FORMIT_CORE_EXPORT bool | ObjectReportsAreaByLevel (size_t nHistoryID, size_t nObjectID) |
| Get whether the Object reports area by level or not. | |
| FORMIT_CORE_EXPORT double | GetProjectSiteArea () |
| Get the site area of the model. | |
| FORMIT_CORE_EXPORT void | SetTotalAreaOfSite (double area) |
| Set the total site area of the model. | |
| FORMIT_CORE_EXPORT double | GetProjectTargetArea () |
| Get the total site area of the model. | |
| FORMIT_CORE_EXPORT double | GetTotalGrossArea () |
| Get the sum of all level areas in the model. | |
| FORMIT_CORE_EXPORT double | GetLinearDefault (double imperialValue) |
| Get the default value that is equivalent to the given linear imperial value. | |