FormIt Plugin API  v23.0.0 (2023.0.0)
FormIt.SectionPlanes API

Description

Functions

json FormIt.SectionPlanes.Clear ()
 
json FormIt.SectionPlanes.SetPlanes (planes)
 Set the current Section Planes. More...
 
json FormIt.SectionPlanes.GetPlanes ()
 Get the current Section Planes. More...
 
json FormIt.SectionPlanes.GetInstances ()
 Get the WSM group instances representing section planes. More...
 
json FormIt.SectionPlanes.GetPlaneLayers ()
 Get the WSM layers that represent section planes. More...
 
json FormIt.SectionPlanes.SetOutlineColor (color)
 Set the section plane outline color. More...
 
json FormIt.SectionPlanes.GetOutlineColor ()
 Get the section plane outline color. More...
 
json FormIt.SectionPlanes.SetOutlineSize (s)
 Set the section plane outline size. More...
 
json FormIt.SectionPlanes.GetOutlineSize ()
 Get the section plane outline size. More...
 
json FormIt.SectionPlanes.SetSectionIndicatorsVisibility (visible)
 Set the geometry representing section planes visible. More...
 
json FormIt.SectionPlanes.SetPocheColor (color)
 Set the section plane Poche color. More...
 
json FormIt.SectionPlanes.GetPocheColor ()
 Get the section plane Poche color. More...
 
json FormIt.SectionPlanes.EnablePocheColor (enable)
 Enable the Poche color given a bool. More...
 
json FormIt.SectionPlanes.IsPocheColorEnabled ()
 IsPocheColorEnabled returns the Poche color state (on/off). More...
 
json FormIt.SectionPlanes.SectionPlaneHistoryChanged ()
 SectionPlaneHistoryChanged returns true if the section plane History has changed. More...
 
json FormIt.SectionPlanes.SetLastSectionRefHistory (historyId)
 Enable the Poche color given a bool. More...
 
json FormIt.SectionPlanes.GetLastSectionRefHistory ()
 Get the History ID that represents a section plane. More...
 

Function Documentation

json FormIt.SectionPlanes.Clear ( )
json FormIt.SectionPlanes.EnablePocheColor ( enable  )

Enable the Poche color given a bool.

Parameters
[in]enablebool
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.SectionPlanes.GetInstances ( )

Get the WSM group instances representing section planes.

Returns
Array of WSM.GroupInstancePath
json FormIt.SectionPlanes.GetLastSectionRefHistory ( )

Get the History ID that represents a section plane.

Returns
History ID
json FormIt.SectionPlanes.GetOutlineColor ( )

Get the section plane outline color.

Returns
WSM.Color
json FormIt.SectionPlanes.GetOutlineSize ( )

Get the section plane outline size.

Returns
Outline size
json FormIt.SectionPlanes.GetPlaneLayers ( )

Get the WSM layers that represent section planes.

Returns
Array of WSM.ObjectHistoryId
json FormIt.SectionPlanes.GetPlanes ( )

Get the current Section Planes.

Returns
Array of WSM.Plane
json FormIt.SectionPlanes.GetPocheColor ( )

Get the section plane Poche color.

Returns
WSM.Color
json FormIt.SectionPlanes.IsPocheColorEnabled ( )

IsPocheColorEnabled returns the Poche color state (on/off).

Returns
bool
json FormIt.SectionPlanes.SectionPlaneHistoryChanged ( )

SectionPlaneHistoryChanged returns true if the section plane History has changed.

Returns
bool
json FormIt.SectionPlanes.SetLastSectionRefHistory ( historyId  )

Enable the Poche color given a bool.

Parameters
[in]historyIdint
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.SectionPlanes.SetOutlineColor ( color  )

Set the section plane outline color.

Parameters
[in]colorWSM.Color
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.SectionPlanes.SetOutlineSize ( )

Set the section plane outline size.

Parameters
[in]sfloat
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.SectionPlanes.SetPlanes ( planes  )

Set the current Section Planes.

Parameters
[in]planesArray of WSM.Plane
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.SectionPlanes.SetPocheColor ( color  )

Set the section plane Poche color.

Parameters
[in]colorWSM.Color
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.SectionPlanes.SetSectionIndicatorsVisibility ( visible  )

Set the geometry representing section planes visible.

Parameters
[in]visiblebool
Returns
JSON_UNDEFINED, i.e. {}