Miscellaneous
Here are some other useful functions that are available in the console.
#
Section BuilderSB.library.getTree
#
Description: Fetch the section library tree.
Operation Type: Synchronous
Access: get
Params: null
Sample:
getSectionLibraryTree.js
#
UnitsS3D.units.getSystemName
#
Description: Gets the name of the current unit system.
Returns: imperial
or metric
.
Operation Type: Synchronous
Access: get
Params: null
Sample:
getUnitSystem.js
#
APIS3D.API.S3D2API
#
Description: Convert an S3D model to SkyCiv's API model format.
Operation Type: Synchronous
Params: S3D.API.S3D2API(structure);
Sample:
convertToApi.js
S3D.API.API2S3D
#
Description: Convert a SkyCiv's API model to the S3D model format.
Operation Type: Synchronous
Params: S3D.API.API2S3D(s3dModel);
Sample:
convertToApi.js