Solid Edge Framework Type Library
SetSectionPlanes Method
Specifies the number of section planes to be created. To remove all section planes or display depths, set this parameter to 0.
Specifies section plane positions. This array contains a number of elements equal to three times the number specified by the nPlanes parameter in x,y,z,x,y,z order.
Specifies section plane normals. This array contains a number of elements equal to three times the number specified by the nPlanes parameter in x,y,z,x,y,z order.
Specifies the color components of each plane's style. Each component has a range of 0 to 255. The array contains a number of elements equal to four times the number specified by the nPlanes parameter in red,green,blue,alpha,red,green,blue,alpha order.
Description
Sets in the referenced View object the definitions of the active section planes [0 will remove all planes].
Syntax
Visual Basic
Public Sub SetSectionPlanes( _
   ByVal nPlanes As Long, _
   Optional ByRef Positions As Variant, _
   Optional ByRef Normals As Variant, _
   Optional ByRef FaceStyles As Variant _
) 
Parameters
nPlanes
Specifies the number of section planes to be created. To remove all section planes or display depths, set this parameter to 0.
Positions
Specifies section plane positions. This array contains a number of elements equal to three times the number specified by the nPlanes parameter in x,y,z,x,y,z order.
Normals
Specifies section plane normals. This array contains a number of elements equal to three times the number specified by the nPlanes parameter in x,y,z,x,y,z order.
FaceStyles
Specifies the color components of each plane's style. Each component has a range of 0 to 255. The array contains a number of elements equal to four times the number specified by the nPlanes parameter in red,green,blue,alpha,red,green,blue,alpha order.
Remarks
You can use section plane information to define real-time clipping planes. If display depths are defined, the SetSectionPlanes method removes them and replaces them with section planes.
See Also

View Object  | View Members