FormIt.Model namespace.
Functions | |
json | GetHistoryID () |
Get the id of the History of the main Model. | |
json | GetMemorySize (bCollapsedHistoryWithLiveObjsOnly) |
Get the memory size of the History of the main Model. | |
json | GetUnitTypeCurrent () |
Get the UnitType of the current Model. | |
json | GetUnitType () |
!!!!!!!!!!!!!!! Deprecated: Use GetUnitTypeCurrent !!!!!!!!!!!!!!! Get the UnitType of the current Model. | |
json | SetUnitTypeCurrent (unitType) |
Set the UnitType of the current Model. | |
json | ImperialLengthToCurrentUnitLength (length) |
Takes imperial value in feet and translates to the current unit system | |
json | SetUnitType (unitType) |
!!!!!!!!!!!!!!! Deprecated: Use GetUnitTypeCurrent !!!!!!!!!!!!!!! Set the UnitType of the current Model. | |
json | IsImperialUnitType (unitType) |
Return true if the current unit type in the model is imperial. | |
json | GetGroupHistoryName (nHistoryID) |
Get the name for the given history. | |
json | SetGroupHistoryName (nHistoryID, sHistoryName) |
Set the name for the given history. | |
json | IsModified () |
IsModified returns true if the Model has been modified. | |
json | ResetModified () |
ResetModified sets the Model to unmodified. | |
json | SetCurveAccuracyOrCountCurrent (accuracyORcount) |
Set the curve accuracy. | |
json | GetCurveAccuracyOrCountCurrent () |
Get the curve accuracy. | |
json | GetPropertiesForHistory (nHistoryID, editingPath) |
Get the properties for the given history. | |
json | GetPropertiesForSelected () |
Returns the properties for all objects currently selected Parameters: In: Out: FormIt.SelectedProperties | |
json | GetObjectName (objectID) |
Returns the Object's name Parameters: In: objectID (GroupInstancePath || ObjectHistoryID || ObjectID) Out: name (string) | |
json | SetObjectName (objectID, name) |
Sets the Object's name The Object's type must be- WSM.nBodyType || WSM.nInstanceType || WSM.nMeshType || WSM.nLineMeshType || WSM.nPointMeshType Parameters: In: objectID (GroupInstancePath || ObjectHistoryID || ObjectID) Out: JSON_UNDEFINED | |
json | ObjectReportsAreaByLevel (objectID) |
Get whether the object reports area by level or not. | |
json | SetSurfaceAccuracyOrCountCurrent (accuracy) |
Set the surface accuracy. | |
json | GetSurfaceAccuracyOrCountCurrent () |
Get the surface accuracy. | |
json | GetProjectSiteArea () |
Get the project site area of the model | |
json | SetTotalAreaOfSite (area) |
SetTotalAreaOfSite sets the total site area of the model. | |
json | GetProjectTargetArea () |
GetProjectTargetArea gets the site project target area of the model. | |
json | GetTotalGrossArea () |
GetTotalGrossArea gets the total area of all levels in the model. | |
json | GetLinearDefault (imperialValue) |
Get the default value that is equivalent to the given linear imperial value. | |