FormIt Plugin API v25.0.0 (2025.0.0)
Loading...
Searching...
No Matches
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.
 
json WSM.Atf.APIWriteWithATF (nHistoryID, sFilePath, eFileType, aNonOwnedObjectIDs, aExcludedObjects, defaultColorVec, cameraVec, aLayerDisplayedNegateVec, aNamedCamerasData)
 APIWriteWithATF() function.
 

Function Documentation

◆ APILoadWithATF()

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

◆ APITestAtfLoopBack()

json WSM.Atf.APITestAtfLoopBack ( nFromHistoryID  ,
nToHistoryID  ,
defaultColorVec  ,
aNonOwnedObjectIDs  ,
aExcludedObjects  ,
bWantPolygonMeshFromBrep  ,
aLayerDisplayedNegateVec   
)

◆ APIWriteWithATF()

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. {}