FormIt Plugin API  v23.0.0 (2023.0.0)
WSM.Atf API

Description

Functions

json WSM.Atf.APITestAtfLoopBack (nFromHistoryID, nToHistoryID, defaultColorVec, aNonOwnedObjectIDs, aExcludedObjects, bWantPolygonMeshFromBrep, aLayerDisplayedNegateVec)
 
json WSM.Atf.APILoadWithATF (nHistoryID, sFilePath, eFileType, nOptions)
 APILoadWithATF() function. More...
 
json WSM.Atf.APIWriteWithATF (nHistoryID, sFilePath, eFileType, aNonOwnedObjectIDs, aExcludedObjects, defaultColorVec, cameraVec, aLayerDisplayedNegateVec, aNamedCamerasData)
 APIWriteWithATF() function. More...
 

Function Documentation

json WSM.Atf.APILoadWithATF ( nHistoryID  ,
sFilePath  ,
eFileType  ,
nOptions   
)

APILoadWithATF() function.

Parameters
[in]nHistoryIDint
[in]sFilePathString
[in]eFileTypeWSM.nFileType
[in]nOptions(OPTIONAL, default = to_ut(WSM.nLoadingOptions.CreateMesh)) int
Returns
cameraData
json WSM.Atf.APITestAtfLoopBack ( nFromHistoryID  ,
nToHistoryID  ,
defaultColorVec  ,
aNonOwnedObjectIDs  ,
aExcludedObjects  ,
bWantPolygonMeshFromBrep  ,
aLayerDisplayedNegateVec   
)
json WSM.Atf.APIWriteWithATF ( nHistoryID  ,
sFilePath  ,
eFileType  ,
aNonOwnedObjectIDs  ,
aExcludedObjects  ,
defaultColorVec  ,
cameraVec  ,
aLayerDisplayedNegateVec  ,
aNamedCamerasData   
)

APIWriteWithATF() function.

Parameters
[in]nHistoryIDint
[in]sFilePathString
[in]eFileTypeWSM.nFileType
[in]aNonOwnedObjectIDs(OPTIONAL) Array of int
[in]aExcludedObjects(OPTIONAL) Array of WSM.ObjectHistoryID
[in]defaultColorVec(OPTIONAL) Array of WSM.Color
[in]cameraVec(OPTIONAL) Array of WSM.ATFCameraData
[in]aLayerDisplayedNegateVec(OPTIONAL) Array of WSM.ObjectHistoryID
[in]aNamedCamerasData(OPTIONAL) vectorpairstringcamera
Returns
JSON_UNDEFINED, i.e. {}